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

demo: change form layout

parent 047c01d4
......@@ -15,10 +15,6 @@
"connection_name": {
"$ref": "urn:jio:remote_connections.json"
},
"parameters": {
"type": "object",
"additionalProperties": false,
"properties": {
"columns": {
"title": "columns",
"$ref": "#/definitions/choice"
......@@ -27,8 +23,6 @@
"title": "rows",
"$ref": "#/definitions/choice"
}
}
}
},
"additionalProperties": false
}
\ No newline at end of file
......@@ -46,7 +46,6 @@
var dimensions = [],
key,
dimension;
v = v.parameters;
if (v) {
if (v.columns) {
for (key in v.columns) {
......@@ -503,7 +502,7 @@
if (g.props.init_value) {
connection_settings =
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);
}
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