fix(hooks): update pagination pageSize after data fetch.
(cherry picked from commit 64226d9bb8a501f5a343e041d4f10426e2139d01)
This commit is contained in:
@ -131,6 +131,7 @@ export function useNaivePaginatedTable<ResponseData, ApiData>(
|
|||||||
getColumns,
|
getColumns,
|
||||||
onFetched: data => {
|
onFetched: data => {
|
||||||
pagination.itemCount = data.total;
|
pagination.itemCount = data.total;
|
||||||
|
pagination.pageSize = data.pageSize;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user