diff --git a/libs/angular/src/vault/components/add-edit.component.ts b/libs/angular/src/vault/components/add-edit.component.ts index 94b028d27b..c5ac7a2acd 100644 --- a/libs/angular/src/vault/components/add-edit.component.ts +++ b/libs/angular/src/vault/components/add-edit.component.ts @@ -508,8 +508,8 @@ export class AddEditComponent implements OnInit, OnDestroy { resetMaskState() { // toggle masks off for maskable login properties with no value on init/load - this.showTotpSeed = !this.cipher.login?.totp; - this.showPassword = !this.cipher.login?.password; + this.showTotpSeed = !this.cipher?.login?.totp; + this.showPassword = !this.cipher?.login?.password; } togglePassword() {