1
0
mirror of https://github.com/bitwarden/web synced 2026-01-05 01:54:02 +00:00

[fix] Remove function implementation that was moved to jslib (#1692)

* [fix] Remove function implementation that was moved to jslib

* [dep] Update jslib
This commit is contained in:
Addison Beck
2022-05-17 21:08:39 -04:00
committed by GitHub
parent 7b55c8ad1a
commit 6ee47f0057
2 changed files with 1 additions and 11 deletions

View File

@@ -28,16 +28,6 @@ export class VaultFilterComponent extends BaseVaultFilterComponent {
this.onSearchTextChanged.emit(this.searchText);
}
// This method exists because the vault component gets its data mixed up during the initial sync on first login. It looks for data before the sync is complete.
// It should be removed as soon as doing so makes sense.
async reloadOrganizations() {
this.organizations = await this.vaultFilterService.buildOrganizations();
this.activePersonalOwnershipPolicy =
await this.vaultFilterService.checkForPersonalOwnershipPolicy();
this.activeSingleOrganizationPolicy =
await this.vaultFilterService.checkForSingleOrganizationPolicy();
}
async initCollections() {
return await this.vaultFilterService.buildCollections(this.organization?.id);
}