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.modern.js
CHANGED
@@ -2577,10 +2577,11 @@ var ContentEditor = function ContentEditor(_ref) {
|
|
2577
2577
|
}
|
2578
2578
|
|
2579
2579
|
var sections = content.sections();
|
2580
|
+
console.log('ContentEditor:sections', sections);
|
2580
2581
|
return /*#__PURE__*/React.createElement("div", {
|
2581
2582
|
className: "content-editor"
|
2582
2583
|
}, sections.filter(function (section) {
|
2583
|
-
return section.fields &&
|
2584
|
+
return section.fields && section.fields.length > 0;
|
2584
2585
|
}).map(function (section) {
|
2585
2586
|
var title = section.title,
|
2586
2587
|
fields = section.fields;
|