mirror of
https://github.com/bitwarden/web
synced 2025-12-13 23:03:18 +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(
|
this.vaultFilterComponent.reloadCollectionsAndFolders(
|
||||||
new VaultFilter({
|
new VaultFilter({
|
||||||
selectedOrganizationId: this.organization.id,
|
selectedOrganizationId: this.organization.id,
|
||||||
|
useAdminCollections: this.organization.canEditAnyCollection,
|
||||||
} as Partial<VaultFilter>)
|
} as Partial<VaultFilter>)
|
||||||
),
|
),
|
||||||
this.ciphersComponent.refresh(),
|
this.ciphersComponent.refresh(),
|
||||||
@@ -110,7 +111,10 @@ export class OrganizationVaultComponent implements OnInit, OnDestroy {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
await this.vaultFilterComponent.reloadCollectionsAndFolders(
|
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();
|
await this.ciphersComponent.reload();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user