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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.617",
3
+ "version": "0.0.618",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -229,7 +229,8 @@ export const CollectionTree = (props) => {
229
229
 
230
230
  function group(items, by) {
231
231
 
232
- const options = schema[by].options
232
+ console.log(schema, items, by)
233
+ const options = schema[by] ? schema[by].options : null
233
234
 
234
235
  return items.reduce((nodes, field) => {
235
236
  let node = nodes.find(n => n.name === field[by])