From 7834146efc2edf31d327acb3fdc285dcdec4b4e3 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 9 Jun 2021 19:38:54 +0200 Subject: [PATCH] web/admin: fix authenticatior_valiation stage not setting correct fields Signed-off-by: Jens Langhammer --- .../AuthenticatorValidateStageForm.ts | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts b/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts index f5a919789..60b8b55cb 100644 --- a/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts +++ b/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts @@ -16,13 +16,13 @@ export class AuthenticatorValidateStageForm extends ModelForm { - this.showConfigureFlow = stage.notConfiguredAction === NotConfiguredActionEnum.Configure; + this.showConfigurationStage = stage.notConfiguredAction === NotConfiguredActionEnum.Configure; return stage; }); } @property({ type: Boolean }) - showConfigureFlow = false; + showConfigurationStage = true; getSuccessMessage(): string { if (this.instance) { @@ -74,9 +74,9 @@ export class AuthenticatorValidateStageForm extends ModelForm { const target = ev.target as HTMLSelectElement; if (target.selectedOptions[0].value === NotConfiguredActionEnum.Configure) { - this.showConfigureFlow = true; + this.showConfigurationStage = true; } else { - this.showConfigureFlow = false; + this.showConfigurationStage = false; } }}>