diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index 4745fa782..8000e2662 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -6634,7 +6634,7 @@ RED.view = (function() { targetPort: 0 }; RED.nodes.addLink(link) - const historyEvent = RED.history.peek(); + let historyEvent = RED.history.peek(); if (historyEvent.t === "multi") { historyEvent = historyEvent.events.find(e => e.t === "add") }