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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.398",
3
+ "version": "0.0.401",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -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
  }
@@ -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) delete filterSchema[key]
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