From fb5d601c135bde3093f3cff153eab862d07569e7 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 18 Nov 2022 16:13:53 +0100 Subject: [PATCH] Clean up some eslint things --- client/src/components/Workflow/Editor/NodeInput.vue | 4 ---- client/src/components/Workflow/Editor/NodeOutput.vue | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) 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() {