Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 18:08:36 +00:00
co-authored by renee-png
parent f43b727b18
commit 1a07d1b5ba
+7
View File
@@ -303,6 +303,13 @@ function ArchivePage() {
</table>
</div>
)}
{!loading && rows.length > 0 && rows.length < totalCount && (
<div className="border-t p-3 text-center">
<Button variant="outline" size="sm" onClick={loadMore} disabled={loadingMore}>
{loadingMore ? "Loading…" : `Load ${Math.min(PAGE_SIZE, totalCount - rows.length)} more`}
</Button>
</div>
)}
</CardContent>
</Card>