From 83df61018f2daac10661475227f834ea965783fb Mon Sep 17 00:00:00 2001 From: GogoVega <92022724+GogoVega@users.noreply.github.com> Date: Mon, 22 Sep 2025 09:53:09 +0200 Subject: [PATCH] Fix undo node output changes inside a Subflow --- .../node_modules/@node-red/editor-client/src/js/ui/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 70963e389..f804e6de2 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -1179,7 +1179,7 @@ RED.editor = (function() { if (editState.outputMap) { historyEvent.outputMap = editState.outputMap; } - if (subflowInstances) { + if (subflowInstances && subflowInstances.length) { historyEvent.subflow = { instances:subflowInstances }