Skip to content

Commit

Permalink
fix/batch-fixes-dec-6
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Dec 7, 2023
1 parent 7f32dfb commit 651116e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 651116e

Please sign in to comment.