ywana-core8 0.0.617 → 0.0.618

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
@@ -5947,7 +5947,8 @@ var CollectionTree = function CollectionTree(props) {
5947
5947
  }
5948
5948
 
5949
5949
  function group(items, by) {
5950
- var options = schema[by].options;
5950
+ console.log(schema, items, by);
5951
+ var options = schema[by] ? schema[by].options : null;
5951
5952
  return items.reduce(function (nodes, field) {
5952
5953
  var node = nodes.find(function (n) {
5953
5954
  return n.name === field[by];