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:
parent
b1bff62bf7
commit
94c9da468e
@ -167,6 +167,7 @@ RED.history = (function() {
|
|||||||
if (ev.subflow) {
|
if (ev.subflow) {
|
||||||
inv_ev.subflow = {};
|
inv_ev.subflow = {};
|
||||||
if (ev.subflow.hasOwnProperty('instances')) {
|
if (ev.subflow.hasOwnProperty('instances')) {
|
||||||
|
inv_ev.subflow.instances = [];
|
||||||
ev.subflow.instances.forEach(function(n) {
|
ev.subflow.instances.forEach(function(n) {
|
||||||
inv_ev.subflow.instances.push(n);
|
inv_ev.subflow.instances.push(n);
|
||||||
var node = RED.nodes.node(n.id);
|
var node = RED.nodes.node(n.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user