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.cjs CHANGED
@@ -5757,9 +5757,9 @@ var TableFilters = function TableFilters(props) {
5757
5757
  var filterSchema = Object.assign({}, schema);
5758
5758
 
5759
5759
  for (var key in filterSchema) {
5760
- if (filterSchema[key].filter === false) delete filterSchema[key];
5761
-
5762
- if (filterSchema[key].type === TYPES.ENTITY) {
5760
+ if (filterSchema[key].filter === false) {
5761
+ delete filterSchema[key];
5762
+ } else if (filterSchema[key].type === TYPES.ENTITY) {
5763
5763
  var fs = filterSchema.item;
5764
5764
  if (fs.filter === false) delete fs[key];
5765
5765
  }