mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
refresh ciphers list on add/edit/delete
This commit is contained in:
@@ -119,18 +119,18 @@ export class VaultComponent implements OnInit {
|
||||
this.go();
|
||||
}
|
||||
|
||||
savedCipher(cipher: CipherView) {
|
||||
async savedCipher(cipher: CipherView) {
|
||||
this.cipherId = cipher.id;
|
||||
this.action = 'view';
|
||||
this.go();
|
||||
this.ciphersComponent.updateCipher(cipher);
|
||||
await this.ciphersComponent.refresh();
|
||||
}
|
||||
|
||||
deletedCipher(cipher: CipherView) {
|
||||
async deletedCipher(cipher: CipherView) {
|
||||
this.cipherId = null;
|
||||
this.action = null;
|
||||
this.go();
|
||||
this.ciphersComponent.removeCipher(cipher.id);
|
||||
await this.ciphersComponent.refresh();
|
||||
}
|
||||
|
||||
editCipherAttachments(cipher: CipherView) {
|
||||
|
||||
Reference in New Issue
Block a user