mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Update to use new VaultFilter model
This commit is contained in:
@@ -98,6 +98,7 @@ export class OrganizationVaultComponent implements OnInit, OnDestroy {
|
||||
this.vaultFilterComponent.reloadCollectionsAndFolders(
|
||||
new VaultFilter({
|
||||
selectedOrganizationId: this.organization.id,
|
||||
useAdminCollections: this.organization.canEditAnyCollection,
|
||||
} as Partial<VaultFilter>)
|
||||
),
|
||||
this.ciphersComponent.refresh(),
|
||||
@@ -110,7 +111,10 @@ export class OrganizationVaultComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
}
|
||||
await this.vaultFilterComponent.reloadCollectionsAndFolders(
|
||||
new VaultFilter({ selectedOrganizationId: this.organization.id } as Partial<VaultFilter>)
|
||||
new VaultFilter({
|
||||
selectedOrganizationId: this.organization.id,
|
||||
useAdminCollections: this.organization.canEditAnyCollection,
|
||||
} as Partial<VaultFilter>)
|
||||
);
|
||||
await this.ciphersComponent.reload();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user