From 94c9da468e8ee32be50fd587cf1b3a64cf20c72c Mon Sep 17 00:00:00 2001 From: Kunihiko Toumura Date: Thu, 4 Jul 2019 08:26:39 +0100 Subject: [PATCH] fix initialization bug --- packages/node_modules/@node-red/editor-client/src/js/history.js | 1 + 1 file changed, 1 insertion(+) 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);