refactor(editor): Delete unused code (no-changelog) (#9866)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-06-26 11:45:41 +02:00
committed by GitHub
parent 405e8746c9
commit 803895360c
35 changed files with 16 additions and 258 deletions

View File

@@ -105,7 +105,6 @@ const {
addConnections,
editableWorkflow,
editableWorkflowObject,
triggerNodes,
} = useCanvasOperations({ router, lastClickPosition });
const isLoading = ref(true);
@@ -128,15 +127,6 @@ const isReadOnlyEnvironment = computed(() => {
return sourceControlStore.preferences.branchReadOnly;
});
const isCanvasAddButtonVisible = computed(() => {
return (
triggerNodes.value.length > 0 &&
!isLoading.value &&
!isDemoRoute.value &&
!isReadOnlyEnvironment.value
);
});
/**
* Initialization
*/