diff --git a/client/src/components/Workflow/Editor/WorkflowGraph.vue b/client/src/components/Workflow/Editor/WorkflowGraph.vue index 837001ab4ea..49a24556b76 100644 --- a/client/src/components/Workflow/Editor/WorkflowGraph.vue +++ b/client/src/components/Workflow/Editor/WorkflowGraph.vue @@ -73,8 +73,8 @@ const props = defineProps({ }); const transform = reactive({ x: 0, y: 0, k: 1 }); -let draggingConnection = ref(null); -let isDragging = ref(false); +const draggingConnection = ref(null); +const isDragging = ref(false); provide("isDragging", isDragging); provide("transform", transform); const scale = useScale(); diff --git a/client/src/store/workflowEditorStateStore.js b/client/src/store/workflowEditorStateStore.js index eabbbb8c415..10265650131 100644 --- a/client/src/store/workflowEditorStateStore.js +++ b/client/src/store/workflowEditorStateStore.js @@ -47,11 +47,9 @@ const mutations = { } }, deleteInputTerminalPosition: (state, { stepId, inputName }) => { - console.log("deleting output"); delete state.inputTerminals[stepId][inputName]; }, deleteOutputTerminalPosition: (state, { stepId, outputName }) => { - console.log("deleting output"); delete state.outputTerminals[stepId][outputName]; }, setConnection: (state, { source, target, connection }) => {