ywana-core8 0.0.43 → 0.0.44
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 +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +8 -3
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -129,9 +129,14 @@ const TableFilters = (props) => {
|
|
129
129
|
|
130
130
|
const filterSchema = useMemo(() => {
|
131
131
|
const filterSchema = Object.assign({}, schema)
|
132
|
-
|
133
|
-
|
134
|
-
.
|
132
|
+
|
133
|
+
for (var key in filterSchema) {
|
134
|
+
if (filterSchema[key].filter === false) delete filterSchema[key]
|
135
|
+
}
|
136
|
+
|
137
|
+
Object.values(filterSchema).forEach(field => field.section = null)
|
138
|
+
|
139
|
+
Object.keys
|
135
140
|
delete filterSchema.flows
|
136
141
|
return filterSchema
|
137
142
|
}, [schema])
|