diff --git a/packages/editor-ui/src/stores/ndv.store.ts b/packages/editor-ui/src/stores/ndv.store.ts index dc2053d07ed80..3778255f41021 100644 --- a/packages/editor-ui/src/stores/ndv.store.ts +++ b/packages/editor-ui/src/stores/ndv.store.ts @@ -215,11 +215,19 @@ export const useNDVStore = defineStore(STORES.NDV, { } }, updateNodeParameterIssues(issues: INodeIssues): void { - const activeNode = this.activeNode; + const workflowsStore = useWorkflowsStore(); + const activeNode = workflowsStore.getNodeByName(this.activeNodeName || ''); + if (activeNode) { - Vue.set(activeNode, 'issues', { - ...activeNode.issues, - ...issues, + const nodeIndex = workflowsStore.workflow.nodes.findIndex((node) => { + return node.name === activeNode.name; + }); + + workflowsStore.updateNodeAtIndex(nodeIndex, { + issues: { + ...activeNode.issues, + ...issues, + }, }); } },