Skip to content

Commit

Permalink
Merge pull request #264 from Ferlab-Ste-Justine/fix/FLUI-59/searchaft…
Browse files Browse the repository at this point in the history
…er-next

fix(searchafter): FLUI-59 fix next button
  • Loading branch information
lflangis authored Mar 31, 2023
2 parents f263d62 + 59978b0 commit e90c7d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ferlab/ui",
"version": "5.5.7",
"version": "5.5.8",
"description": "Core components for scientific research data portals",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/ProTable/Pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const Pagination = ({
{dictionary?.pagination?.previous || 'Prev.'}
</Button>
<Button
disabled={total === 0 || total < queryConfig.size || loading}
disabled={total === 0 || total < queryConfig.size || queryConfig.size * current >= total || loading}
onClick={() => {
setQueryConfig({
...queryConfig,
Expand Down

0 comments on commit e90c7d2

Please sign in to comment.