diff --git a/apps/desktop/src/vault/app/vault/vault.component.ts b/apps/desktop/src/vault/app/vault/vault.component.ts index bde8e626faa..0f334bd4886 100644 --- a/apps/desktop/src/vault/app/vault/vault.component.ts +++ b/apps/desktop/src/vault/app/vault/vault.component.ts @@ -497,7 +497,7 @@ export class VaultComponent implements OnInit, OnDestroy { this.action = "view"; await this.vaultItemsComponent.refresh(); await this.cipherService.clearCache(this.activeUserId); - await this.viewComponent.load(); + await this.vaultItemsComponent.load(this.activeFilter.buildFilter()); 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. // eslint-disable-next-line @typescript-eslint/no-floating-promises this.viewCipher(cipher); + await this.vaultItemsComponent.refresh(); + await this.cipherService.clearCache(this.activeUserId); await this.vaultItemsComponent.load(this.activeFilter.buildFilter()); }); // eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe