ywana-core8 0.0.398 → 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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -2
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.css +5 -2
- package/src/domain/TablePage.js +6 -1
package/package.json
CHANGED
package/src/domain/TablePage.css
CHANGED
@@ -14,6 +14,11 @@
|
|
14
14
|
margin: 0 1rem;
|
15
15
|
}
|
16
16
|
|
17
|
+
menu.table-page {
|
18
|
+
display: flex;
|
19
|
+
flex-direction: column;
|
20
|
+
}
|
21
|
+
|
17
22
|
menu.table-page>header {
|
18
23
|
padding-right: .5rem;
|
19
24
|
}
|
@@ -47,7 +52,6 @@ main.table-editor {
|
|
47
52
|
padding-right: 1rem;
|
48
53
|
}
|
49
54
|
|
50
|
-
|
51
55
|
.table-selector {
|
52
56
|
display: flex;
|
53
57
|
flex-direction: column;
|
@@ -82,7 +86,6 @@ header.table-filters {
|
|
82
86
|
background-color: rgba(220,220,220,.5);
|
83
87
|
}
|
84
88
|
|
85
|
-
main.table-queries,
|
86
89
|
main.table-filters {
|
87
90
|
flex: 1;
|
88
91
|
}
|
package/src/domain/TablePage.js
CHANGED
@@ -263,7 +263,12 @@ 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)
|
266
|
+
if (filterSchema[key].filter === false) {
|
267
|
+
delete filterSchema[key]
|
268
|
+
} else if (filterSchema[key].type === TYPES.ENTITY) {
|
269
|
+
const fs = filterSchema.item
|
270
|
+
if (fs.filter === false) delete fs[key]
|
271
|
+
}
|
267
272
|
}
|
268
273
|
Object.values(filterSchema).forEach(field => field.section = null)
|
269
274
|
delete filterSchema.flows
|