ywana-core8 0.0.84 → 0.0.85
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +17 -15
package/dist/index.cjs
CHANGED
@@ -2584,10 +2584,11 @@ var ContentEditor = function ContentEditor(_ref) {
|
|
2584
2584
|
}
|
2585
2585
|
|
2586
2586
|
var sections = content.sections();
|
2587
|
+
console.log('ContentEditor:sections', sections);
|
2587
2588
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2588
2589
|
className: "content-editor"
|
2589
2590
|
}, sections.filter(function (section) {
|
2590
|
-
return section.fields &&
|
2591
|
+
return section.fields && section.fields.length > 0;
|
2591
2592
|
}).map(function (section) {
|
2592
2593
|
var title = section.title,
|
2593
2594
|
fields = section.fields;
|