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

refresh list after save

This commit is contained in:
jaasen-livefront
2025-03-07 17:31:12 -08:00
parent 8c4ee14d86
commit 45360ea45b

View File

@@ -497,7 +497,7 @@ export class VaultComponent implements OnInit, OnDestroy {
this.action = "view"; this.action = "view";
await this.vaultItemsComponent.refresh(); await this.vaultItemsComponent.refresh();
await this.cipherService.clearCache(this.activeUserId); await this.cipherService.clearCache(this.activeUserId);
await this.viewComponent.load(); await this.vaultItemsComponent.load(this.activeFilter.buildFilter());
this.go(); this.go();
} }
@@ -571,6 +571,8 @@ export class VaultComponent implements OnInit, OnDestroy {
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling. // FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
this.viewCipher(cipher); this.viewCipher(cipher);
await this.vaultItemsComponent.refresh();
await this.cipherService.clearCache(this.activeUserId);
await this.vaultItemsComponent.load(this.activeFilter.buildFilter()); await this.vaultItemsComponent.load(this.activeFilter.buildFilter());
}); });
// eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe // eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe