[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
1 changed files with 8 additions and 0 deletions

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