mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
modal component
This commit is contained in:
@@ -39,6 +39,7 @@ export class AddEditComponent implements OnChanges {
|
||||
@Output() onDeletedCipher = new EventEmitter<CipherView>();
|
||||
@Output() onCancelled = new EventEmitter<CipherView>();
|
||||
@Output() onEditAttachments = new EventEmitter<CipherView>();
|
||||
@Output() onGeneratePassword = new EventEmitter();
|
||||
|
||||
editMode: boolean = false;
|
||||
cipher: CipherView;
|
||||
@@ -172,4 +173,8 @@ export class AddEditComponent implements OnChanges {
|
||||
this.toasterService.popAsync('success', null, this.i18nService.t('deletedItem'));
|
||||
this.onDeletedCipher.emit(this.cipher);
|
||||
}
|
||||
|
||||
generatePassword() {
|
||||
this.onGeneratePassword.emit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user