update reset-passwords

update reset-passwords.ts
pull/3/head
Mazdak Gibran 1 week ago
parent b6fe4e0398
commit 9ee1c0f4e2

@ -9,17 +9,14 @@ import { PasswordHideShowComponent } from '../../shared/components/password-hide
styleUrl: './reset-password.component.scss'
})
export class ResetPasswordComponent {
passwordType: string = 'password';
passwordType1: string = 'password';
passwordType2: string = 'password';
@ViewChild('psh') passwordHideShow?: PasswordHideShowComponent;
@ViewChild('psh1') passwordHideShow1 ?: PasswordHideShowComponent;
@ViewChild('psh2') passwordHideShow2 ?: PasswordHideShowComponent;
togglePasswordType() {
this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text';
}
togglePasswordType1() {
this.passwordType1 = this.passwordHideShow1?.showPassword ? 'password' : 'text';
}

Loading…
Cancel
Save