@if (entityType === EntityType.ALL_BOOKS) { @if (currentFilterLabel && rawFilterParamFromUrl) { {{ currentFilterLabel }} } @else if (isFilterActive || hasSearchTerm) { {{ computedFilterLabel }} } @else { All Books } } @else if (entityType === EntityType.UNSHELVED) { {{ (isFilterActive || hasSearchTerm) ? 'Unshelved Books (Filtered)' : 'Unshelved Books' }} } @else { {{ entityType }}: {{ (entity$ | async)?.name }}{{ (isFilterActive || hasSearchTerm) ? ' (Filtered)' : '' }} }
@if (seriesCollapseFilter.isSeriesCollapsed && (bookState$ | async)?.books; as books) {Showing {{ books.length }} {{ books.length === 1 ? 'item' : 'items' }} (series collapsed)
}{{ entityType === EntityType.LIBRARY ? "Failed to load library's books!" : "Failed to load shelf's books!" }}
This collection has no books!