1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

Various small vault filter fixes (#1659)

This commit is contained in:
Robyn MacCallum
2022-05-10 17:33:53 -04:00
committed by GitHub
parent 9627782a04
commit 9f977cfc68
5 changed files with 21 additions and 26 deletions

View File

@@ -58,7 +58,8 @@ export class CiphersComponent extends BaseCiphersComponent {
);
}
async load(filter: (cipher: CipherView) => boolean = null) {
async load(filter: (cipher: CipherView) => boolean = null, deleted = false) {
this.deleted = deleted || false;
if (this.organization.canEditAnyCollection) {
this.accessEvents = this.organization.useEvents;
this.allCiphers = await this.cipherService.getAllFromApiForOrganization(this.organization.id);