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.modern.js
CHANGED
@@ -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
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
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) {
|