diff --git a/jslib b/jslib index 65584c6496..2f54893854 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 65584c64966a6624dd84df6a4d0e1a7155656c97 +Subproject commit 2f54893854da61a742f87b02ec4328f7933bfe27 diff --git a/src/app/modules/vault-filter/vault-filter.component.ts b/src/app/modules/vault-filter/vault-filter.component.ts index 17bd055bf6..4442e0abc6 100644 --- a/src/app/modules/vault-filter/vault-filter.component.ts +++ b/src/app/modules/vault-filter/vault-filter.component.ts @@ -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); }