Commit 7afc3a24 authored by Boris Kocherov's avatar Boris Kocherov

demo: change form layout

parent 047c01d4
...@@ -15,19 +15,13 @@ ...@@ -15,19 +15,13 @@
"connection_name": { "connection_name": {
"$ref": "urn:jio:remote_connections.json" "$ref": "urn:jio:remote_connections.json"
}, },
"parameters": { "columns": {
"type": "object", "title": "columns",
"additionalProperties": false, "$ref": "#/definitions/choice"
"properties": { },
"columns": { "rows": {
"title": "columns", "title": "rows",
"$ref": "#/definitions/choice" "$ref": "#/definitions/choice"
},
"rows": {
"title": "rows",
"$ref": "#/definitions/choice"
}
}
} }
}, },
"additionalProperties": false "additionalProperties": false
......
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
var dimensions = [], var dimensions = [],
key, key,
dimension; dimension;
v = v.parameters;
if (v) { if (v) {
if (v.columns) { if (v.columns) {
for (key in v.columns) { for (key in v.columns) {
...@@ -503,7 +502,7 @@ ...@@ -503,7 +502,7 @@
if (g.props.init_value) { if (g.props.init_value) {
connection_settings = connection_settings =
connections[convertOnMultiLevel(g.props.init_value, "/connection_name")]; connections[convertOnMultiLevel(g.props.init_value, "/connection_name")];
if (path !== "/parameters/columns/" && path !== "/parameters/rows/") { if (path !== "/columns/" && path !== "/rows/") {
choice_settings = convertOnMultiLevel(g.props.init_value, path); choice_settings = convertOnMultiLevel(g.props.init_value, path);
} }
return generateChoiceSchema(connection_settings, g.props.used_dimensions, choice_settings); return generateChoiceSchema(connection_settings, g.props.used_dimensions, choice_settings);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment