1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

Specify organization id as the indexing entity (#945)

* Specify organization id as the indexing entity

* Update jslib

(cherry picked from commit f6eec08b70)
This commit is contained in:
Matt Gibson
2021-04-23 09:41:10 -05:00
parent 4b05bc981c
commit 5a64b22190

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;
}