mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Get all collections from server if required
This commit is contained in:
@@ -29,6 +29,8 @@ export class VaultFilterComponent extends BaseVaultFilterComponent {
|
||||
}
|
||||
|
||||
async initCollections() {
|
||||
this.vaultFilterService.getAllCollectionsFromServer =
|
||||
this.organization?.canEditAnyCollection ?? false;
|
||||
return await this.vaultFilterService.buildCollections(this.organization?.id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user