{series.name} {#each shelves.filter((shelf) => shelf.count > 0) as shelf (shelf.id)} {shelf.count} {shelf.label} {/each}
{#each shownBooks as book (book.goodreadsId)} {/each}
{#if total > collapsedCount} {/if}