1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +00:00

dialogs with swal

This commit is contained in:
Kyle Spearrin
2018-06-08 14:56:26 -04:00
parent f05c6ccddd
commit 38a95c3745
6 changed files with 200 additions and 4 deletions

View File

@@ -207,9 +207,11 @@ export class VaultComponent implements OnInit {
childComponent.cipherId = cipher == null ? null : cipher.id;
childComponent.onSavedCipher.subscribe(async (c: CipherView) => {
this.modal.close();
await this.ciphersComponent.refresh();
});
childComponent.onDeletedCipher.subscribe(async (c: CipherView) => {
this.modal.close();
await this.ciphersComponent.refresh();
});
this.modal.onClosed.subscribe(() => {