diff --git a/client/src/components/Workflow/Editor/NodeInput.vue b/client/src/components/Workflow/Editor/NodeInput.vue index 2e48b95579e..d827523326d 100644 --- a/client/src/components/Workflow/Editor/NodeInput.vue +++ b/client/src/components/Workflow/Editor/NodeInput.vue @@ -99,10 +99,6 @@ export default { return classes; }, }, - beforeDestroy() { - this.$emit("onRemove", this.input); - this.onRemove(); - }, watch: { terminalPosition(position) { this.$store.commit("workflowState/setInputTerminalPosition", { diff --git a/client/src/components/Workflow/Editor/NodeOutput.vue b/client/src/components/Workflow/Editor/NodeOutput.vue index 78872f20491..28b94c5b761 100644 --- a/client/src/components/Workflow/Editor/NodeOutput.vue +++ b/client/src/components/Workflow/Editor/NodeOutput.vue @@ -28,7 +28,7 @@ import DraggableWrapper from "./DraggablePan"; import WorkflowConnector from "./Connector"; import { useCoordinatePosition } from "./composables/useCoordinatePosition"; -import { reactive, ref } from "vue"; +import { ref } from "vue"; export default { setup(props) { @@ -62,7 +62,6 @@ export default { }, parentOffset: { type: Object, - default: {}, }, }, data() {