fix(web): hide runs list pager when pagination isn't relevant

Show the pager only when there's actually more than one page or the
user is past page 1, replacing the hardcoded total >= 25 threshold.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-25 17:35:14 -04:00
parent a11f242b3f
commit 1b8dcd41de
No known key found for this signature in database

View file

@ -190,7 +190,7 @@ export function RunsListView({
/>
</div>
)}
{(total == null || total >= 25) && (
{(hasMore || (pageCount != null && pageCount > 1) || page > 1) && (
<ListPager
page={page}
pageSize={pageSize}