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.cjs +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -3
- package/src/html/list.js +2 -2
package/dist/index.cjs
CHANGED
@@ -522,12 +522,12 @@ var GroupedList = function GroupedList(props) {
|
|
522
522
|
groupBy = props.groupBy;
|
523
523
|
var groups = items.reduce(function (groups, item) {
|
524
524
|
var group = groups.find(function (g) {
|
525
|
-
return g.name === item
|
525
|
+
return g.name === item[groupBy];
|
526
526
|
});
|
527
527
|
|
528
528
|
if (!group) {
|
529
529
|
group = {
|
530
|
-
name: item
|
530
|
+
name: item[groupBy],
|
531
531
|
items: []
|
532
532
|
};
|
533
533
|
groups.push(group);
|
@@ -2584,7 +2584,6 @@ var ContentEditor = function ContentEditor(_ref) {
|
|
2584
2584
|
}
|
2585
2585
|
|
2586
2586
|
var sections = content.sections();
|
2587
|
-
console.log('ContentEditor:sections', sections);
|
2588
2587
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2589
2588
|
className: "content-editor"
|
2590
2589
|
}, sections.map(function (section) {
|
@@ -3192,7 +3191,7 @@ var CollectionAdder = function CollectionAdder(_ref11) {
|
|
3192
3191
|
editable: true
|
3193
3192
|
})) : /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
3194
3193
|
icon: "add",
|
3195
|
-
label: "
|
3194
|
+
label: "A\xF1adir",
|
3196
3195
|
action: toggle
|
3197
3196
|
}));
|
3198
3197
|
};
|