1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Implement the markAsDirty form controls for AddEditComponent(#761).

This commit is contained in:
Chad Griffis
2021-04-22 23:13:21 +08:00
parent 0724041daf
commit 06f2364733
3 changed files with 11 additions and 1 deletions

View File

@@ -554,6 +554,7 @@ export class VaultComponent implements OnInit, OnDestroy {
this.modal.close();
if (this.addEditComponent != null && this.addEditComponent.cipher != null &&
this.addEditComponent.cipher.type === CipherType.Login && this.addEditComponent.cipher.login != null) {
this.addEditComponent.markPasswordAsDirty();
this.addEditComponent.cipher.login.password = password;
}
});