diff --git a/packages/node_modules/@node-red/editor-client/src/js/history.js b/packages/node_modules/@node-red/editor-client/src/js/history.js index b59af14d5..36acb4a2c 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/history.js +++ b/packages/node_modules/@node-red/editor-client/src/js/history.js @@ -167,6 +167,7 @@ RED.history = (function() { if (ev.subflow) { inv_ev.subflow = {}; if (ev.subflow.hasOwnProperty('instances')) { + inv_ev.subflow.instances = []; ev.subflow.instances.forEach(function(n) { inv_ev.subflow.instances.push(n); var node = RED.nodes.node(n.id);