mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
fix(editor): Refresh NDV node connections if inputs change dynamically (#16023)
This commit is contained in:
parent
bc44baa736
commit
02ed7b6631
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user