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 eab478da0c
commit b3f9136aea

View File

@@ -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);
}
}