fix: update only showTotal property by spreading pagination object (#4467)

* fix: update only showTotal property by spreading pagination object
This commit is contained in:
Yunus M 2024-01-31 15:59:40 +05:30 committed by GitHub
parent 78c9330666
commit 5c60a862e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,6 +77,7 @@ function ResizeTable({
hideOnSinglePage: true,
showTotal: (total: number, range: number[]): string =>
`${range[0]}-${range[1]} of ${total} items`,
...tableParams.pagination,
};
return onDragColumn ? (