fix(frontend): fix rename for runnable inputs

This commit is contained in:
Ruben Fiszel
2023-07-30 11:20:20 +02:00
parent 151673fffe
commit 3c0c05a2eb

View File

@@ -109,6 +109,13 @@
}
} else if (componentInput?.type == 'runnable') {
processRunnable(from, to, componentInput.runnable)
Object.values(componentInput.fields).forEach((field) => {
if (field.type == 'connected') {
if (field.connection?.componentId === from) {
field.connection.componentId = to
}
}
})
}
Object.values(data.configuration ?? {}).forEach((config) => {