mirror of
https://github.com/umami-software/umami.git
synced 2026-05-30 06:47:25 +00:00
Merge pull request #3944 from AymanAlSuleihi/master
Fix datagrid dropping query params on pagination
This commit is contained in:
@@ -86,7 +86,7 @@ export function DataGrid({
|
||||
(page: number) => {
|
||||
router.push(updateParams({ search, page }));
|
||||
},
|
||||
[search, updateParams],
|
||||
[router, updateParams, search],
|
||||
);
|
||||
|
||||
const child = data ? (typeof children === 'function' ? children(data) : children) : null;
|
||||
|
||||
Reference in New Issue
Block a user