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 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 && 0 < section.fields.length;
2591
+ return section.fields && section.fields.length > 0;
2591
2592
  }).map(function (section) {
2592
2593
  var title = section.title,
2593
2594
  fields = section.fields;