mirror of
https://github.com/bitwarden/browser
synced 2026-01-04 17:43:39 +00:00
[PM-12035] Vault filter updates to use SingleUserState (#13641)
* vault filter use SingleUserState * fixing tests * Changes so that userId is passed to service, instead of access in service * passing activeUserId from the components to service * Sugggested changes * updating functions to be abstract on vault-filter.service * updating all functions to be abstract on vault filter service
This commit is contained in:
@@ -89,8 +89,8 @@ export class VaultFilterComponent
|
||||
const collapsedNodes = await firstValueFrom(this.vaultFilterService.collapsedFilterNodes$);
|
||||
|
||||
collapsedNodes.delete("AllCollections");
|
||||
|
||||
await this.vaultFilterService.setCollapsedFilterNodes(collapsedNodes);
|
||||
const userId = await firstValueFrom(this.activeUserId$);
|
||||
await this.vaultFilterService.setCollapsedFilterNodes(collapsedNodes, userId);
|
||||
}
|
||||
|
||||
protected async addCollectionFilter(): Promise<VaultFilterSection> {
|
||||
|
||||
Reference in New Issue
Block a user