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.umd.js
CHANGED
@@ -2581,10 +2581,11 @@
|
|
2581
2581
|
}
|
2582
2582
|
|
2583
2583
|
var sections = content.sections();
|
2584
|
+
console.log('ContentEditor:sections', sections);
|
2584
2585
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2585
2586
|
className: "content-editor"
|
2586
2587
|
}, sections.filter(function (section) {
|
2587
|
-
return section.fields &&
|
2588
|
+
return section.fields && section.fields.length > 0;
|
2588
2589
|
}).map(function (section) {
|
2589
2590
|
var title = section.title,
|
2590
2591
|
fields = section.fields;
|