1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Specify organization id as the indexing entity (#945)

* Specify organization id as the indexing entity

* Update jslib
This commit is contained in:
Matt Gibson 2021-04-23 09:41:10 -05:00 committed by GitHub
parent 9547b72566
commit f6eec08b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit aca098645a21eef496e21d7c3a942cf6a83ff7bc
Subproject commit 090ad790f5ace3526ce8202d2ac74751e6618587

View File

@ -46,7 +46,7 @@ export class CiphersComponent extends BaseCiphersComponent {
}
this.accessEvents = this.organization.useEvents;
this.allCiphers = await this.cipherService.getAllFromApiForOrganization(this.organization.id);
await this.searchService.indexCiphers(this.allCiphers);
await this.searchService.indexCiphers(this.organization.id, this.allCiphers);
await this.applyFilter(filter);
this.loaded = true;
}