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.umd.js CHANGED
@@ -5941,7 +5941,8 @@
5941
5941
  }
5942
5942
 
5943
5943
  function group(items, by) {
5944
- var options = schema[by].options;
5944
+ console.log(schema, items, by);
5945
+ var options = schema[by] ? schema[by].options : null;
5945
5946
  return items.reduce(function (nodes, field) {
5946
5947
  var node = nodes.find(function (n) {
5947
5948
  return n.name === field[by];