From 651116ef468240cc9110dd83f672b8f5b80bf190 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Wed, 6 Dec 2023 19:33:11 -0600 Subject: [PATCH] fix/batch-fixes-dec-6 --- .../components/form-password/form-password.component.ts | 4 +++- .../components/form-personal/form-personal.component.ts | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/register2/components/form-password/form-password.component.ts b/src/app/register2/components/form-password/form-password.component.ts index d2093a672b..9cd2411c67 100644 --- a/src/app/register2/components/form-password/form-password.component.ts +++ b/src/app/register2/components/form-password/form-password.component.ts @@ -143,7 +143,9 @@ export class FormPasswordComponent extends BaseForm implements OnInit { const validStatus = this.confirmPasswordValid && this.passwordValid if (!this.passwordsValidAreValidAlreadyChecked && validStatus) { - this.announce($localize`:@@register.passwordAreValid:Your passwords match`) + this.announce( + $localize`:@@register.passwordAreValid:Your passwords match` + ) } else if (this.passwordsValidAreValidAlreadyChecked && !validStatus) { this.announce( $localize`:@@register.passwordAreNotValid:Your passwords do not match` diff --git a/src/app/register2/components/form-personal/form-personal.component.ts b/src/app/register2/components/form-personal/form-personal.component.ts index efaaff76e5..757cb5f356 100644 --- a/src/app/register2/components/form-personal/form-personal.component.ts +++ b/src/app/register2/components/form-personal/form-personal.component.ts @@ -272,12 +272,10 @@ export class FormPersonalComponent extends BaseForm implements OnInit { get emailsAreValid() { const validStatus = this.emailConfirmationValid && this.emailValid if (!this.emailsAreValidAlreadyChecked && validStatus) { - - - this.announce($localize`:@@register.emailAreValid:Your emails match`) } else if (this.emailsAreValidAlreadyChecked && !validStatus) { - this.announce($localize`:@@register.emailAreNotValid:Your emails do not match` + this.announce( + $localize`:@@register.emailAreNotValid:Your emails do not match` ) } this.emailsAreValidAlreadyChecked = validStatus