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.umd.js
CHANGED
@@ -4830,6 +4830,7 @@
|
|
4830
4830
|
|
4831
4831
|
function renderGroupLabel(groupName) {
|
4832
4832
|
var grouper = schema[groupBy];
|
4833
|
+
if (!groupName) return "...";
|
4833
4834
|
|
4834
4835
|
if (grouper.options) {
|
4835
4836
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
@@ -4837,7 +4838,7 @@
|
|
4837
4838
|
return option.value === groupName;
|
4838
4839
|
});
|
4839
4840
|
console.log(groupName, options, option);
|
4840
|
-
return option
|
4841
|
+
return option ? option.label : groupName;
|
4841
4842
|
} else {
|
4842
4843
|
return groupName;
|
4843
4844
|
}
|