[AC-2071] Fix bulk collection access API call (#7681)

* Fix HTTP error when bulk editing collection access

Add missing forward slash in URL string

* Only show bulk collection access if using FC
This commit is contained in:
Thomas Rittson 2024-01-26 07:01:13 +10:00 committed by GitHub
parent 2c1d215b71
commit 34579e3831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export class CollectionAdminService {
await this.apiService.send( await this.apiService.send(
"POST", "POST",
`organizations/${organizationId}/collections/bulk-access`, `/organizations/${organizationId}/collections/bulk-access`,
request, request,
true, true,
false, false,

View File

@ -55,7 +55,9 @@
[cloneableOrganizationCiphers]="true" [cloneableOrganizationCiphers]="true"
[showAdminActions]="true" [showAdminActions]="true"
(onEvent)="onVaultItemsEvent($event)" (onEvent)="onVaultItemsEvent($event)"
[showBulkEditCollectionAccess]="showBulkEditCollectionAccess$ | async" [showBulkEditCollectionAccess]="
(showBulkEditCollectionAccess$ | async) && organization?.flexibleCollections
"
[viewingOrgVault]="true" [viewingOrgVault]="true"
> >
</app-vault-items> </app-vault-items>