@coreui/react-pro 4.14.0 → 4.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/react-pro",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "UI Components Library for React.js",
5
5
  "keywords": [
6
6
  "react",
@@ -467,7 +467,7 @@ export const CSmartTable = forwardRef<HTMLDivElement, CSmartTableProps>(
467
467
  {(pagination || itemsPerPageSelect) && (
468
468
  <div className="row">
469
469
  <div className="col">
470
- {((pagination && numberOfPages > 1) || paginationProps) && (
470
+ {((pagination && numberOfPages > 1) || (paginationProps && paginationProps.pages > 1)) && (
471
471
  <CSmartPagination
472
472
  activePage={_activePage}
473
473
  onActivePageChange={(page) => {