mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +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() {
|
async initCollections() {
|
||||||
|
this.vaultFilterService.getAllCollectionsFromServer =
|
||||||
|
this.organization?.canEditAnyCollection ?? false;
|
||||||
return await this.vaultFilterService.buildCollections(this.organization?.id);
|
return await this.vaultFilterService.buildCollections(this.organization?.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user