ywana-core8 0.0.212 → 0.0.213

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.
@@ -1356,10 +1356,11 @@ var DataTable = function DataTable(props) {
1356
1356
  var type = _ref3.type;
1357
1357
  return type === TYPES.ENTITY;
1358
1358
  }).map(function (column) {
1359
- var _column$item = column.item,
1360
- item = _column$item === void 0 ? [] : _column$item;
1361
- console.log("subheader", column, item);
1362
- return item.map(function (field) {
1359
+ var item = column.item;
1360
+ var fields = item ? Object.values(item) : [];
1361
+ return fields.filter(function (field) {
1362
+ return !field.column;
1363
+ }).map(function (field) {
1363
1364
  return /*#__PURE__*/React.createElement("th", null, field.label);
1364
1365
  });
1365
1366
  }))), /*#__PURE__*/React.createElement("tbody", null, multiSort(rows, sortDir).map(function (row) {