Fix restricted access view not loading for providers (#9165)

This commit is contained in:
Thomas Rittson 2024-05-14 09:02:26 +10:00 committed by GitHub
parent a4cc7a3ec3
commit 16971be52d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -117,10 +117,13 @@
<collection-access-restricted
*ngIf="showCollectionAccessRestricted"
[canEditCollection]="
selectedCollection.node?.canEdit(organization, flexibleCollectionsV1Enabled)
selectedCollection?.node?.canEdit(organization, flexibleCollectionsV1Enabled)
"
[canViewCollectionInfo]="
selectedCollection.node?.canViewCollectionInfo(organization, flexibleCollectionsV1Enabled)
selectedCollection?.node?.canViewCollectionInfo(
organization,
flexibleCollectionsV1Enabled
)
"
(viewCollectionClicked)="
editCollection(selectedCollection.node, $event.tab, $event.readonly)