1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

modal component

This commit is contained in:
Kyle Spearrin
2018-01-29 09:33:43 -05:00
parent 752e9a726a
commit c50b478a4d
9 changed files with 550 additions and 2 deletions

View File

@@ -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();
}
}