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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +3 -2
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -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)
|
267
|
-
|
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
|
}
|