mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
refactor(editor): Delete unused code (no-changelog) (#9866)
This commit is contained in:
committed by
GitHub
parent
405e8746c9
commit
803895360c
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user