1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix initialization bug

This commit is contained in:
Kunihiko Toumura 2019-07-04 08:26:39 +01:00
parent b1bff62bf7
commit 94c9da468e

View File

@ -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);