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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.400",
3
+ "version": "0.0.401",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -263,8 +263,9 @@ const TableFilters = (props) => {
263
263
  const filterSchema = useMemo(() => {
264
264
  const filterSchema = Object.assign({}, schema)
265
265
  for (var key in filterSchema) {
266
- if (filterSchema[key].filter === false) delete filterSchema[key]
267
- if (filterSchema[key].type === TYPES.ENTITY) {
266
+ if (filterSchema[key].filter === false) {
267
+ delete filterSchema[key]
268
+ } else if (filterSchema[key].type === TYPES.ENTITY) {
268
269
  const fs = filterSchema.item
269
270
  if (fs.filter === false) delete fs[key]
270
271
  }