From 02ed7b663184276a1aac96b3cd5b6fa54e554baa Mon Sep 17 00:00:00 2001 From: Jaakko Husso Date: Thu, 5 Jun 2025 10:17:45 +0300 Subject: [PATCH] fix(editor): Refresh NDV node connections if inputs change dynamically (#16023) --- .../frontend/editor-ui/src/components/NDVSubConnections.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/frontend/editor-ui/src/components/NDVSubConnections.vue b/packages/frontend/editor-ui/src/components/NDVSubConnections.vue index 054d1fba7b..35eeb20d9c 100644 --- a/packages/frontend/editor-ui/src/components/NDVSubConnections.vue +++ b/packages/frontend/editor-ui/src/components/NDVSubConnections.vue @@ -15,6 +15,7 @@ import type { import { useDebounce } from '@/composables/useDebounce'; import { OnClickOutside } from '@vueuse/components'; import { useI18n } from '@n8n/i18n'; +import { useNDVStore } from '@/stores/ndv.store'; interface Props { rootNode: INodeUi; @@ -47,7 +48,7 @@ const nodeType = computed(() => ); const nodeData = computed(() => workflowsStore.getNodeByName(props.rootNode.name)); - +const ndvStore = useNDVStore(); const workflow = computed(() => workflowsStore.getCurrentWorkflow()); const nodeInputIssues = computed(() => { @@ -175,7 +176,7 @@ function showNodeInputsIssues() { } watch( - nodeData, + [nodeData, ndvStore.activeNode], debounce( () => setTimeout(() => {