mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
FIX: fix default_value property parse
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user