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.modern.js
CHANGED
@@ -4826,7 +4826,7 @@ var TableEditor = function TableEditor(props) {
|
|
4826
4826
|
|
4827
4827
|
function renderGroupLabel(groupName) {
|
4828
4828
|
var grouper = schema[groupBy];
|
4829
|
-
if (!groupName) return "
|
4829
|
+
if (!groupName || !grouper) return "";
|
4830
4830
|
|
4831
4831
|
if (grouper.options) {
|
4832
4832
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4909,8 +4909,8 @@ var TableEditor = function TableEditor(props) {
|
|
4909
4909
|
return /*#__PURE__*/React.createElement(Fragment, {
|
4910
4910
|
key: groupName
|
4911
4911
|
}, /*#__PURE__*/React.createElement(Header, {
|
4912
|
-
title: groupName
|
4913
|
-
},
|
4912
|
+
title: renderGroupLabel(groupName)
|
4913
|
+
}, /*#__PURE__*/React.createElement("span", {
|
4914
4914
|
className: "size"
|
4915
4915
|
}, groupSize)), /*#__PURE__*/React.createElement(DataTable, _extends({}, table, {
|
4916
4916
|
onRowSelection: select,
|