mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-14 23:22:51 +00:00
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:
parent
a11f242b3f
commit
1b8dcd41de
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ export function RunsListView({
|
|||
/>
|
||||
</div>
|
||||
)}
|
||||
{(total == null || total >= 25) && (
|
||||
{(hasMore || (pageCount != null && pageCount > 1) || page > 1) && (
|
||||
<ListPager
|
||||
page={page}
|
||||
pageSize={pageSize}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue