@ditojs/admin 2.2.7-debug.3 → 2.2.7-debug.4
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/dito-admin.es.js +5 -5
- package/dist/dito-admin.umd.js +2 -2
- package/package.json +2 -2
- package/src/utils/filter.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/admin",
|
|
3
|
-
"version": "2.2.7-debug.
|
|
3
|
+
"version": "2.2.7-debug.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
|
|
6
6
|
"repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vite": "^4.3.1"
|
|
83
83
|
},
|
|
84
84
|
"types": "types",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "3950959411aefbd9ea2ab5a13f7c6aacfcb60018",
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "vite build",
|
|
88
88
|
"watch": "yarn build --mode 'development' --watch",
|
package/src/utils/filter.js
CHANGED
|
@@ -213,10 +213,10 @@ function getComponentsForFilter(schema, name) {
|
|
|
213
213
|
function formatFiltersData(schema, data) {
|
|
214
214
|
console.log(
|
|
215
215
|
'formatFiltersData()',
|
|
216
|
-
{
|
|
217
|
-
data
|
|
218
|
-
schema:
|
|
219
|
-
}
|
|
216
|
+
JSON.stringify({
|
|
217
|
+
data,
|
|
218
|
+
schema: Object.keys(schema?.components || {})
|
|
219
|
+
})
|
|
220
220
|
)
|
|
221
221
|
const filters = []
|
|
222
222
|
for (const name in data) {
|