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.modern.js
CHANGED
@@ -4826,6 +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
4830
|
|
4830
4831
|
if (grouper.options) {
|
4831
4832
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4833,7 +4834,7 @@ var TableEditor = function TableEditor(props) {
|
|
4833
4834
|
return option.value === groupName;
|
4834
4835
|
});
|
4835
4836
|
console.log(groupName, options, option);
|
4836
|
-
return option
|
4837
|
+
return option ? option.label : groupName;
|
4837
4838
|
} else {
|
4838
4839
|
return groupName;
|
4839
4840
|
}
|