[AC-2193] Hide collection access restricted state when there are visible sub-collections (#8023)

* [AC-2193] Hide collection access restricted state when there are visible sub-collections

* [AC-2193] Undo change to showCollectionAccessRestricted

* [AC-2193] Update not items and access restricted views to only show if there are both no collections or items available
This commit is contained in:
Shane Melton 2024-02-21 16:03:19 -08:00 committed by GitHub
parent 08b850085c
commit 278b25d257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@
</button>
</div>
</ng-container>
<ng-container *ngIf="flexibleCollectionsV1Enabled && !performingInitialLoad">
<bit-no-items *ngIf="isEmpty && !showCollectionAccessRestricted">
<ng-container *ngIf="flexibleCollectionsV1Enabled && !performingInitialLoad && isEmpty">
<bit-no-items *ngIf="!showCollectionAccessRestricted">
<span slot="title" class="tw-mt-4 tw-block">{{ "noItemsInList" | i18n }}</span>
<button
slot="button"