1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

[fix] Move web's VaultFiltersComponent.reloadOrganizations() method to jslib (#807)

This commit is contained in:
Addison Beck 2022-05-17 19:57:09 -04:00 committed by GitHub
parent 65584c6496
commit 2f54893854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,14 @@ export class VaultFilterComponent implements OnInit {
: await this.vaultFilterService.buildCollections(filter.selectedOrganizationId);
}
async reloadOrganizations() {
this.organizations = await this.vaultFilterService.buildOrganizations();
this.activePersonalOwnershipPolicy =
await this.vaultFilterService.checkForPersonalOwnershipPolicy();
this.activeSingleOrganizationPolicy =
await this.vaultFilterService.checkForSingleOrganizationPolicy();
}
addFolder() {
this.onAddFolder.emit();
}