mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Add pagination config as dependency for table setPage (#3708)
This commit is contained in:
parent
534c44e9b9
commit
8cecd54248
1 changed files with 1 additions and 1 deletions
|
|
@ -812,7 +812,7 @@ export function Table({
|
|||
setExposedVariable('pageIndex', targetPageIndex);
|
||||
if (!serverSidePagination && clientSidePagination) gotoPage(targetPageIndex - 1);
|
||||
},
|
||||
['targetPageIndex']
|
||||
[serverSidePagination, clientSidePagination]
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue