1
0
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:
Thomas Rittson
2022-05-17 16:41:40 +10:00
parent 45da771404
commit eae38e2f9c

View File

@@ -39,6 +39,8 @@ export class VaultFilterComponent extends BaseVaultFilterComponent {
}
async initCollections() {
this.vaultFilterService.getAllCollectionsFromServer =
this.organization?.canEditAnyCollection ?? false;
return await this.vaultFilterService.buildCollections(this.organization?.id);
}
}