Skip to content

Commit

Permalink
feat: 🎸 Rätt text för rätt inloggning i modal
Browse files Browse the repository at this point in the history
  • Loading branch information
kajetan-kazimierczak committed Apr 13, 2022
1 parent 38cc762 commit be22fd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/skolplattformen-app/components/login.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,11 @@ export const Login = () => {
backdropStyle={styles.backdrop}
>
<Card disabled>
<Text style={styles.bankIdLoading}>{t('auth.bankid.Waiting')}</Text>
<Text style={styles.bankIdLoading}>
{loginMethodId === 'freja'
? t('auth.freja.Waiting')
: t('auth.bankid.Waiting')}
</Text>

<Button
status="primary"
Expand Down

0 comments on commit be22fd8

Please sign in to comment.