fix: Allow Testing Paged Novels (#1933)

* Fix: Allow testing paged novels

* Fix: 1 Page Novel Testing + Redo Chapter Fetch
This commit is contained in:
Rojikku
2026-01-10 00:52:56 -05:00
committed by GitHub
parent 26a0f25b3d
commit f8da77a903
+11 -1
View File
@@ -403,7 +403,7 @@ export default function ParseNovelSection({
</div>
{/* Chapters Table */}
{chapters.length > 0 && (
{(chapters.length > 0 || sourceNovel.totalPages) && (
<div>
<div className="flex items-center justify-between mb-4">
<h4 className="font-semibold text-foreground">
@@ -436,6 +436,16 @@ export default function ParseNovelSection({
</Button>
</div>
)}
{sourceNovel.totalPages && (
<Button
variant="outline"
size="sm"
onClick={() => fetchPage(currentPage)}
disabled={!currentPage || loading}
>
{loading ? 'Fetching...' : 'Chapter Fetch'}
</Button>
)}
</div>
<div className="overflow-x-auto border border-border rounded-lg">
<table className="w-full text-sm">