Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
f43b727b18
commit
1a07d1b5ba
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user