ywana-core8 0.0.400 → 0.0.401

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
@@ -5752,9 +5752,9 @@
5752
5752
  var filterSchema = Object.assign({}, schema);
5753
5753
 
5754
5754
  for (var key in filterSchema) {
5755
- if (filterSchema[key].filter === false) delete filterSchema[key];
5756
-
5757
- if (filterSchema[key].type === TYPES.ENTITY) {
5755
+ if (filterSchema[key].filter === false) {
5756
+ delete filterSchema[key];
5757
+ } else if (filterSchema[key].type === TYPES.ENTITY) {
5758
5758
  var fs = filterSchema.item;
5759
5759
  if (fs.filter === false) delete fs[key];
5760
5760
  }