@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/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
- (item[colName] && (React$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName])))));
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,