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.modern.js
CHANGED
@@ -515,12 +515,12 @@ var GroupedList = function GroupedList(props) {
|
|
515
515
|
groupBy = props.groupBy;
|
516
516
|
var groups = items.reduce(function (groups, item) {
|
517
517
|
var group = groups.find(function (g) {
|
518
|
-
return g.name === item
|
518
|
+
return g.name === item[groupBy];
|
519
519
|
});
|
520
520
|
|
521
521
|
if (!group) {
|
522
522
|
group = {
|
523
|
-
name: item
|
523
|
+
name: item[groupBy],
|
524
524
|
items: []
|
525
525
|
};
|
526
526
|
groups.push(group);
|
@@ -2577,7 +2577,6 @@ var ContentEditor = function ContentEditor(_ref) {
|
|
2577
2577
|
}
|
2578
2578
|
|
2579
2579
|
var sections = content.sections();
|
2580
|
-
console.log('ContentEditor:sections', sections);
|
2581
2580
|
return /*#__PURE__*/React.createElement("div", {
|
2582
2581
|
className: "content-editor"
|
2583
2582
|
}, sections.map(function (section) {
|
@@ -3185,7 +3184,7 @@ var CollectionAdder = function CollectionAdder(_ref11) {
|
|
3185
3184
|
editable: true
|
3186
3185
|
})) : /*#__PURE__*/React.createElement(Button$1, {
|
3187
3186
|
icon: "add",
|
3188
|
-
label: "
|
3187
|
+
label: "A\xF1adir",
|
3189
3188
|
action: toggle
|
3190
3189
|
}));
|
3191
3190
|
};
|