ywana-core8 0.0.237 → 0.0.238
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +2 -3
package/dist/index.umd.js
CHANGED
@@ -4830,7 +4830,7 @@
|
|
4830
4830
|
|
4831
4831
|
function renderGroupLabel(groupName) {
|
4832
4832
|
var grouper = schema[groupBy];
|
4833
|
-
if (!groupName) return "
|
4833
|
+
if (!groupName || !grouper) return "";
|
4834
4834
|
|
4835
4835
|
if (grouper.options) {
|
4836
4836
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4913,8 +4913,8 @@
|
|
4913
4913
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
|
4914
4914
|
key: groupName
|
4915
4915
|
}, /*#__PURE__*/React__default["default"].createElement(Header, {
|
4916
|
-
title: groupName
|
4917
|
-
},
|
4916
|
+
title: renderGroupLabel(groupName)
|
4917
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
4918
4918
|
className: "size"
|
4919
4919
|
}, groupSize)), /*#__PURE__*/React__default["default"].createElement(DataTable, _extends({}, table, {
|
4920
4920
|
onRowSelection: select,
|