1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

fix vault sync issue

This commit is contained in:
jaasen-livefront
2025-03-10 15:05:23 -07:00
parent 45360ea45b
commit 3c27bdc566

View File

@@ -493,12 +493,14 @@ export class VaultComponent implements OnInit, OnDestroy {
} }
async savedCipher(cipher: CipherView) { async savedCipher(cipher: CipherView) {
this.cipherId = cipher.id; this.cipherId = null;
this.action = "view"; this.action = "view";
await this.vaultItemsComponent.refresh(); await this.vaultItemsComponent.refresh();
this.cipherId = cipher.id;
await this.cipherService.clearCache(this.activeUserId); await this.cipherService.clearCache(this.activeUserId);
await this.vaultItemsComponent.load(this.activeFilter.buildFilter()); await this.vaultItemsComponent.load(this.activeFilter.buildFilter());
this.go(); this.go();
await this.vaultItemsComponent.refresh();
} }
async deletedCipher(cipher: CipherView) { async deletedCipher(cipher: CipherView) {