Skip to content

Commit

Permalink
fix: show pagination warning on all pages (fixes #11968) (#11973)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebast1aan <sebastiaan.lamproye@gmail.com>
  • Loading branch information
Sebast1aan committed Oct 10, 2023
1 parent 505f56c commit 7576abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/shared/components/pagination-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function PaginationPanel(props: {pagination: Pagination; onChange: (pagin
}>
Next page <i className='fa fa-chevron-right' />
</button>
{props.pagination.limit > 0 && props.pagination.limit <= props.numRecords ? (
{props.pagination.limit > 0 ? (
<>
<WarningIcon /> Workflows cannot be globally sorted when paginated
</>
Expand Down

0 comments on commit 7576abc

Please sign in to comment.