1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-29 12:55:21 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

2
jslib

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

View File

@ -28,16 +28,6 @@ export class VaultFilterComponent extends BaseVaultFilterComponent {
this.onSearchTextChanged.emit(this.searchText); 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() { async initCollections() {
return await this.vaultFilterService.buildCollections(this.organization?.id); return await this.vaultFilterService.buildCollections(this.organization?.id);
} }