@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 CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  Several quick start options are available:
44
44
 
45
- - [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.11.0.zip)
45
+ - [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.11.1.zip)
46
46
  - Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
47
47
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
48
48
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
package/dist/index.es.js CHANGED
@@ -14044,7 +14044,8 @@ var CSmartTableBody = forwardRef(function (_a, ref) {
14044
14044
  React__default$1.cloneElement(scopedColumns[colName](item, trIndex + firstItemOnActivePageIndex), {
14045
14045
  key: index,
14046
14046
  })) ||
14047
- (item[colName] && (React__default$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName])))));
14047
+ // eslint-disable-next-line unicorn/no-typeof-undefined
14048
+ (typeof item[colName] !== 'undefined' && (React__default$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName])))));
14048
14049
  })),
14049
14050
  scopedColumns && scopedColumns.details && (React__default$1.createElement(React__default$1.Fragment, null,
14050
14051
  React__default$1.createElement(CTableRow, null,