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

Added missed clone mode conditionals and fixed add/edit state bug (#385)

This commit is contained in:
Vincent Salucci
2020-02-19 13:59:38 -06:00
committed by GitHub
parent 11f39fe781
commit 5254c5ae59
3 changed files with 11 additions and 5 deletions

View File

@@ -611,7 +611,7 @@ export class VaultComponent implements OnInit, OnDestroy {
}
private dirtyInput(): boolean {
return (this.action === 'add' || this.action === 'edit') &&
return (this.action === 'add' || this.action === 'edit' || this.action === 'clone') &&
document.querySelectorAll('app-vault-add-edit .ng-dirty').length > 0;
}