Skip to content

Commit

Permalink
add list entry counts in library detailed view
Browse files Browse the repository at this point in the history
  • Loading branch information
5rahim committed Jul 4, 2024
1 parent 4c36120 commit 36f262d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const LibraryCollectionListItem = React.memo(({ list }: { list: Anime_LibraryCol

return (
<React.Fragment key={list.type}>
<h2>{getLibraryCollectionTitle(list.type)}</h2>
<h2>{getLibraryCollectionTitle(list.type)} <span className="text-[--muted] font-medium ml-3">{list?.entries?.length ?? 0}</span></h2>
<MediaCardLazyGrid itemCount={list?.entries?.length || 0}>
{list.entries?.map(entry => {
return <LibraryCollectionEntryItem key={entry.mediaId} entry={entry} />
Expand Down

0 comments on commit 36f262d

Please sign in to comment.