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.cjs
CHANGED
@@ -4833,7 +4833,7 @@ var TableEditor = function TableEditor(props) {
|
|
4833
4833
|
|
4834
4834
|
function renderGroupLabel(groupName) {
|
4835
4835
|
var grouper = schema[groupBy];
|
4836
|
-
if (!groupName) return "
|
4836
|
+
if (!groupName || !grouper) return "";
|
4837
4837
|
|
4838
4838
|
if (grouper.options) {
|
4839
4839
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4916,8 +4916,8 @@ var TableEditor = function TableEditor(props) {
|
|
4916
4916
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
|
4917
4917
|
key: groupName
|
4918
4918
|
}, /*#__PURE__*/React__default["default"].createElement(Header, {
|
4919
|
-
title: groupName
|
4920
|
-
},
|
4919
|
+
title: renderGroupLabel(groupName)
|
4920
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
4921
4921
|
className: "size"
|
4922
4922
|
}, groupSize)), /*#__PURE__*/React__default["default"].createElement(DataTable, _extends({}, table, {
|
4923
4923
|
onRowSelection: select,
|