FIX: fix default_value property parse

This commit is contained in:
rodrigo.zamboni
2022-09-05 17:38:22 -03:00
parent 8294b5591b
commit 53f8f6986f
@@ -171,6 +171,13 @@ export class ConnectionController {
if (details === 'true') {
const properties = JSON.parse(response.connection.properties);
properties.connection_controls.map((cont) => {
if (cont.default_value != false) {
cont.default_value = JSON.parse(cont.default_value);
}
});
Object.assign(response.connection, {
pipelines: JSON.parse(response.connection.pipelines),
connection_controls: properties.connection_controls,