mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Show placeholder nodes when no trigger nodes available on new canvas (no-changelog) (#11106)
This commit is contained in:
@@ -241,6 +241,8 @@ const fallbackNodes = computed<INodeUi[]>(() =>
|
||||
],
|
||||
);
|
||||
|
||||
const showFallbackNodes = computed(() => triggerNodes.value.length === 0);
|
||||
|
||||
const keyBindingsEnabled = computed(() => {
|
||||
return !ndvStore.activeNode && uiStore.activeModals.length === 0;
|
||||
});
|
||||
@@ -1566,6 +1568,7 @@ onBeforeUnmount(() => {
|
||||
:workflow="editableWorkflow"
|
||||
:workflow-object="editableWorkflowObject"
|
||||
:fallback-nodes="fallbackNodes"
|
||||
:show-fallback-nodes="showFallbackNodes"
|
||||
:event-bus="canvasEventBus"
|
||||
:read-only="isCanvasReadOnly"
|
||||
:executing="isWorkflowRunning"
|
||||
|
||||
Reference in New Issue
Block a user