@if (root) { @if (item.hasDropDown) {
{{ item.label }}
@if (item.hasCreate) { }
} @else {
{{ item.label }}
} }
@if ((item.routerLink && !item.items)) { {{ item.label }} } @if (item.type === 'Library' || item.type === 'Shelf' || item.type === 'magicShelfItem') { @if ((item.type !== 'Library' || (admin || canManipulateLibrary)) && item.label !== 'Unshelved' && item.label !== 'Kobo') { } } @if (item.type === 'Library' && (!admin && !canManipulateLibrary) || item.type === 'All Books' || item.label === 'Unshelved' || item.label === 'Kobo') {

{{ (item.bookCount$ | async)?.toString() || '0' }}

}
@if (item.items) {
    @for (child of item.items; track child; let i = $index) {
  • }
}