ui-kit-ck-consultant 0.6.48 → 0.6.49

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.
@@ -906,7 +906,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
906
906
 
907
907
  if (allRows.length > 0) {
908
908
  allRows.forEach(function (row, rowIndex) {
909
- var cells = _this.getArray(row.props.children[1] === undefined ? row.props.children : row.props.children[0]).filter(function (cell) {
909
+ var cells = _this.getArray(row.props.children.length !== 2 ? row.props.children : row.props.children[0]).filter(function (cell) {
910
910
  var _cell$type, _cell$type2;
911
911
 
912
912
  return (cell === null || cell === void 0 ? void 0 : (_cell$type = cell.type) === null || _cell$type === void 0 ? void 0 : _cell$type.name) === 'Th' || (cell === null || cell === void 0 ? void 0 : (_cell$type2 = cell.type) === null || _cell$type2 === void 0 ? void 0 : _cell$type2.name) === 'Td';