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 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.label ? option.label : groupName + "LABEL NOT FOUND ";
4844
+ return option ? option.label : groupName;
4844
4845
  } else {
4845
4846
  return groupName;
4846
4847
  }