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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user