diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index fb9f48e6479..d0414f39a65 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -75,7 +75,8 @@ @onCreate="onInsertTool" @onChange="onChange" @onDisconnect="onDisconnect" - @onRemove="onRemove"> + @onRemove="onRemove" + @onUpdateStep="onUpdateStep"> @@ -360,6 +361,10 @@ export default { hide_modal(); }, methods: { + onUpdateStep(stepId, step) { + console.log("updating step"); + this.steps[stepId] = step; + }, onDisconnect(nodeId, inputName) { delete this.steps[nodeId].input_connections[inputName]; }, diff --git a/client/src/components/Workflow/Editor/Node.vue b/client/src/components/Workflow/Editor/Node.vue index f6ffbdd2f0e..f06b1507855 100644 --- a/client/src/components/Workflow/Editor/Node.vue +++ b/client/src/components/Workflow/Editor/Node.vue @@ -1,5 +1,16 @@