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

Subflow name property getting dropped on import

Closes #468
This commit is contained in:
Nick O'Leary 2014-10-31 22:44:58 +00:00
parent 694649e8f9
commit 4494c11b03

View File

@ -656,6 +656,7 @@ RED.nodes = (function() {
node._def = registry.getNodeType(node.type); node._def = registry.getNodeType(node.type);
delete node.i; delete node.i;
} }
node.name = n.name;
node.outputs = subflow.out.length; node.outputs = subflow.out.length;
node.inputs = subflow.in.length; node.inputs = subflow.in.length;
} else { } else {