ywana-core8 0.0.236 → 0.0.237
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +4 -1
package/dist/index.cjs
CHANGED
@@ -4833,6 +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
4837
|
|
4837
4838
|
if (grouper.options) {
|
4838
4839
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4840,7 +4841,7 @@ var TableEditor = function TableEditor(props) {
|
|
4840
4841
|
return option.value === groupName;
|
4841
4842
|
});
|
4842
4843
|
console.log(groupName, options, option);
|
4843
|
-
return option
|
4844
|
+
return option ? option.label : groupName;
|
4844
4845
|
} else {
|
4845
4846
|
return groupName;
|
4846
4847
|
}
|