mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
refresh ciphers list on add/edit/delete
This commit is contained in:
@@ -142,6 +142,7 @@ export class AddEditComponent implements OnChanges {
|
||||
try {
|
||||
this.formPromise = this.cipherService.saveWithServer(cipher);
|
||||
await this.formPromise;
|
||||
this.cipher.id = cipher.id;
|
||||
this.analytics.eventTrack.next({ action: this.editMode ? 'Edited Cipher' : 'Added Cipher' });
|
||||
this.toasterService.popAsync('success', null, this.i18nService.t(this.editMode ? 'editedItem' : 'addedItem'));
|
||||
this.onSavedCipher.emit(this.cipher);
|
||||
|
||||
Reference in New Issue
Block a user