@if (filteredBooks$ | async; as books) {
{{ t('seriesDetailsTab') }} @if (books[0]; as firstBook) {

{{ seriesTitle$ | async }}

@for (author of firstBook.metadata?.authors; track $index; let isLast = $last) { {{ author }} @if (!isLast) { , } }

@if (firstBook.metadata?.categories?.length) {
@for (category of firstBook.metadata?.categories; track category) { }
}
@let desc = firstDescription$ | async; @if ((desc?.length ?? 0) > 500) { }
@for (book of books; track book; let i = $index) {
} @if (books.length === 0) {
{{ t('noBooksFound') }}
}
}
@if (selectedBooks.size > 0) { @if (userService.userState$ | async; as userState) { } }
} @else {

{{ t('loadingSeriesDetails') }}

}