ywana-core8 0.0.671 → 0.0.673

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.umd.js CHANGED
@@ -5106,6 +5106,9 @@
5106
5106
  }), /*#__PURE__*/React__default["default"].createElement(Text, null, "No Result Found"));
5107
5107
  var groups = items.reduce(function (groups, item) {
5108
5108
  var groupName = item[groupBy];
5109
+ if (!groupName) groupName = ("SIN " + groupBy).toUpperCase();
5110
+ if (groupName === false) groupName = ("NO " + groupBy).toUpperCase();
5111
+ if (groupName === true) groupName = ("SI " + groupBy).toUpperCase();
5109
5112
  var group = groups[groupName];
5110
5113
  if (!group) groups[groupName] = [];
5111
5114
  groups[groupName].push(item);
@@ -7140,6 +7143,9 @@
7140
7143
  }), /*#__PURE__*/React__default["default"].createElement(Text, null, "No Result Found"));
7141
7144
  var groups = items.reduce(function (groups, item) {
7142
7145
  var groupName = item[groupBy];
7146
+ if (!groupName) groupName = ("SIN " + groupBy).toUpperCase();
7147
+ if (groupName === false) groupName = ("NO " + groupBy).toUpperCase();
7148
+ if (groupName === true) groupName = ("SI " + groupBy).toUpperCase();
7143
7149
  var group = groups[groupName];
7144
7150
  if (!group) groups[groupName] = [];
7145
7151
  groups[groupName].push(item);