From a3972444d880e300da3d71a3fb61868d27a0296f Mon Sep 17 00:00:00 2001 From: frontend-specialisten Date: Thu, 19 Dec 2024 12:56:21 +0100 Subject: [PATCH] fix(eo, signin-callback): update isMitIDErhverv logic (#3855) Co-authored-by: github-actions[bot] --- libs/eo/onboarding/shell/signin-callback.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/eo/onboarding/shell/signin-callback.component.ts b/libs/eo/onboarding/shell/signin-callback.component.ts index db2d07bc28..5f6684fe65 100644 --- a/libs/eo/onboarding/shell/signin-callback.component.ts +++ b/libs/eo/onboarding/shell/signin-callback.component.ts @@ -65,7 +65,9 @@ export class EoSigninCallbackComponent implements OnInit { private readonly transloco = inject(TranslocoService); errorDescription = input('', { alias: 'error_description' }); - protected readonly isMitIDErhverv = computed(() => this.errorDescription() !== 'AADB2C90273'); + protected readonly isMitIDErhverv = computed( + () => !this.errorDescription().startsWith('AADB2C90273') + ); protected readonly translations = translations;