Browse Source

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

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

* [dep] Update jslib
pull/1695/head
Addison Beck 4 years ago committed by GitHub
parent
commit
6ee47f0057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jslib
  2. 10
      src/app/modules/vault-filter/vault-filter.component.ts

2
jslib

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 65584c64966a6624dd84df6a4d0e1a7155656c97
Subproject commit 2f54893854da61a742f87b02ec4328f7933bfe27

10
src/app/modules/vault-filter/vault-filter.component.ts

@ -28,16 +28,6 @@ export class VaultFilterComponent extends BaseVaultFilterComponent { @@ -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);
}

Loading…
Cancel
Save