mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-25 16:59:17 +01:00
[fix] Move web's VaultFiltersComponent.reloadOrganizations() method to jslib (#807)
This commit is contained in:
parent
65584c6496
commit
2f54893854
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user