ywana-core8 0.0.87 → 0.0.88

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
@@ -519,12 +519,12 @@
519
519
  groupBy = props.groupBy;
520
520
  var groups = items.reduce(function (groups, item) {
521
521
  var group = groups.find(function (g) {
522
- return g.name === item.content[groupBy];
522
+ return g.name === item[groupBy];
523
523
  });
524
524
 
525
525
  if (!group) {
526
526
  group = {
527
- name: item.content[groupBy],
527
+ name: item[groupBy],
528
528
  items: []
529
529
  };
530
530
  groups.push(group);
@@ -2581,7 +2581,6 @@
2581
2581
  }
2582
2582
 
2583
2583
  var sections = content.sections();
2584
- console.log('ContentEditor:sections', sections);
2585
2584
  return /*#__PURE__*/React__default["default"].createElement("div", {
2586
2585
  className: "content-editor"
2587
2586
  }, sections.map(function (section) {
@@ -3189,7 +3188,7 @@
3189
3188
  editable: true
3190
3189
  })) : /*#__PURE__*/React__default["default"].createElement(Button$1, {
3191
3190
  icon: "add",
3192
- label: "Add",
3191
+ label: "A\xF1adir",
3193
3192
  action: toggle
3194
3193
  }));
3195
3194
  };