@coreui/react-pro 4.11.0 → 4.11.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/README.md +1 -1
- package/dist/index.es.js +2 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/smart-table/CSmartTableBody.tsx +2 -1
package/dist/index.js
CHANGED
|
@@ -14064,7 +14064,8 @@ var CSmartTableBody = React$1.forwardRef(function (_a, ref) {
|
|
|
14064
14064
|
React$1.cloneElement(scopedColumns[colName](item, trIndex + firstItemOnActivePageIndex), {
|
|
14065
14065
|
key: index,
|
|
14066
14066
|
})) ||
|
|
14067
|
-
|
|
14067
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined
|
|
14068
|
+
(typeof item[colName] !== 'undefined' && (React$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName])))));
|
|
14068
14069
|
})),
|
|
14069
14070
|
scopedColumns && scopedColumns.details && (React$1.createElement(React$1.Fragment, null,
|
|
14070
14071
|
React$1.createElement(CTableRow, null,
|