1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

refresh vault item list after sharing cipher

This commit is contained in:
jaasen-livefront
2025-03-07 17:04:33 -08:00
parent 895b36a3d8
commit 8c4ee14d86

View File

@@ -571,7 +571,7 @@ 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.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
this.modal.onClosed.subscribe(async () => { this.modal.onClosed.subscribe(async () => {