mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2566 from node-red-hitachi/fix-outliner-subflow
Fix outliner display of newly created subflow
This commit is contained in:
commit
dca5b3b2a0
@ -346,6 +346,10 @@ RED.sidebar.info.outliner = (function() {
|
||||
if (!parent) {
|
||||
globalConfigNodes.treeList.addChild(existingObject);
|
||||
} else {
|
||||
if (empties[parent]) {
|
||||
empties[parent].treeList.remove();
|
||||
delete empties[parent];
|
||||
}
|
||||
objects[parent].treeList.addChild(existingObject)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user