Skip to content

Commit

Permalink
fix(eo, signin-callback): update isMitIDErhverv logic (#3855)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent d0d1271 commit a397244
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/eo/onboarding/shell/signin-callback.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export class EoSigninCallbackComponent implements OnInit {
private readonly transloco = inject(TranslocoService);

errorDescription = input<string>('', { alias: 'error_description' });
protected readonly isMitIDErhverv = computed(() => this.errorDescription() !== 'AADB2C90273');
protected readonly isMitIDErhverv = computed(
() => !this.errorDescription().startsWith('AADB2C90273')
);

protected readonly translations = translations;

Expand Down

0 comments on commit a397244

Please sign in to comment.