@secondstaxorg/sscomp 2.1.23 → 2.1.24
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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27253,7 +27253,7 @@ const TablePrimary = (props) => {
|
|
|
27253
27253
|
)
|
|
27254
27254
|
, React$1.createElement('tbody', { className: "rounded-row paragraph2Regular" , __self: undefined, __source: {fileName: _jsxFileName$p, lineNumber: 146}}
|
|
27255
27255
|
, children
|
|
27256
|
-
, !children && masterData && masterData.map((item, index) => (
|
|
27256
|
+
, !children && masterData && ((itemsPerPage && showPagination) && itemsPerPage > 0 ? dataToShow : masterData).map((item, index) => (
|
|
27257
27257
|
React$1.createElement('tr', { key: index, className: clickedRow && 'clickable', onClick: () => {
|
|
27258
27258
|
if (clickedRow) {
|
|
27259
27259
|
clickedRow(item);
|
|
@@ -27284,7 +27284,7 @@ const TablePrimary = (props) => {
|
|
|
27284
27284
|
, showPagination && itemsPerPage && itemsPerPage > 0 && masterData &&
|
|
27285
27285
|
React$1.createElement(Pagination, { itemsPerPage: itemsPerPage, items: masterData, paginatedItems: (arr) => {
|
|
27286
27286
|
// setTbodyItems(arr)
|
|
27287
|
-
setMasterData(arr)
|
|
27287
|
+
// setMasterData(arr)
|
|
27288
27288
|
setDataToShow(arr);
|
|
27289
27289
|
if (paginatedItems) paginatedItems(arr);
|
|
27290
27290
|
}, __self: undefined, __source: {fileName: _jsxFileName$p, lineNumber: 177}})
|