Fix: Toolbar Uniformity & SeriesDetail Redirect (#66)

This commit is contained in:
Youwes09
2026-05-11 20:47:37 -05:00
parent ef190ae66f
commit a9dc047b44
7 changed files with 139 additions and 125 deletions
@@ -103,8 +103,8 @@
const totalPages = $derived(Math.ceil(sortedChapters.length / CHAPTERS_PER_PAGE));
const pageChapters = $derived(sortedChapters.slice((chapterPage - 1) * CHAPTERS_PER_PAGE, chapterPage * CHAPTERS_PER_PAGE));
const readCount = $derived(chapters.filter(c => c.isRead).length);
const totalCount = $derived(chapters.length);
const readCount = $derived(sortedChapters.filter(c => c.isRead).length);
const totalCount = $derived(sortedChapters.length);
const progressPct = $derived(totalCount > 0 ? (readCount / totalCount) * 100 : 0);
const downloadedCount = $derived(chapters.filter(c => c.isDownloaded).length);