ywana-core8 0.0.41 → 0.0.42

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.umd.js CHANGED
@@ -2512,7 +2512,6 @@
2512
2512
  }
2513
2513
 
2514
2514
  var sections = content.sections();
2515
- console.log('-----------contentEditor------', filter);
2516
2515
  return /*#__PURE__*/React__default["default"].createElement("div", {
2517
2516
  className: "content-editor"
2518
2517
  }, sections.map(function (section) {
@@ -4156,7 +4155,9 @@
4156
4155
 
4157
4156
  var filterSchema = React.useMemo(function () {
4158
4157
  var filterSchema = Object.assign({}, schema);
4159
- Object.values(filterSchema).forEach(function (field) {
4158
+ Object.values(filterSchema).filter(function (field) {
4159
+ return field.filter === true;
4160
+ }).forEach(function (field) {
4160
4161
  return field.section = null;
4161
4162
  });
4162
4163
  delete filterSchema.flows;