diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js index 585555d0..822bcfa7 100644 --- a/frontend/src/AngularWorkflow.js +++ b/frontend/src/AngularWorkflow.js @@ -912,10 +912,16 @@ const AngularWorkflow = (props) => { return } + // Remove bad startnode + const startnode_exists = false for (var key in workflow.actions) { const action = workflow.actions[key] - console.log("ACTION: ", action) + if (action.isStartNode && workflow.start !== action.id) { + action.isStartNode = false + } } + + setWorkflow(workflow) } }