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

demo: change form layout

parent 047c01d4
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
"connection_name": { "connection_name": {
"$ref": "urn:jio:remote_connections.json" "$ref": "urn:jio:remote_connections.json"
}, },
"parameters": {
"type": "object",
"additionalProperties": false,
"properties": {
"columns": { "columns": {
"title": "columns", "title": "columns",
"$ref": "#/definitions/choice" "$ref": "#/definitions/choice"
...@@ -27,8 +23,6 @@ ...@@ -27,8 +23,6 @@
"title": "rows", "title": "rows",
"$ref": "#/definitions/choice" "$ref": "#/definitions/choice"
} }
}
}
}, },
"additionalProperties": false "additionalProperties": false
} }
\ No newline at end of file
...@@ -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