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.
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +6 -4
package/dist/index.cjs
CHANGED
@@ -1363,10 +1363,11 @@ var DataTable = function DataTable(props) {
|
|
1363
1363
|
var type = _ref3.type;
|
1364
1364
|
return type === TYPES.ENTITY;
|
1365
1365
|
}).map(function (column) {
|
1366
|
-
var
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1366
|
+
var item = column.item;
|
1367
|
+
var fields = item ? Object.values(item) : [];
|
1368
|
+
return fields.filter(function (field) {
|
1369
|
+
return !field.column;
|
1370
|
+
}).map(function (field) {
|
1370
1371
|
return /*#__PURE__*/React__default["default"].createElement("th", null, field.label);
|
1371
1372
|
});
|
1372
1373
|
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, multiSort(rows, sortDir).map(function (row) {
|