mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
refresh list after save
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user