mirror of https://github.com/node-red/node-red.git
Merge branch 'dev' of https://github.com/node-red/node-red into dev
This commit is contained in:
commit
64d2e80690
|
@ -346,6 +346,10 @@ RED.sidebar.info.outliner = (function() {
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
globalConfigNodes.treeList.addChild(existingObject);
|
globalConfigNodes.treeList.addChild(existingObject);
|
||||||
} else {
|
} else {
|
||||||
|
if (empties[parent]) {
|
||||||
|
empties[parent].treeList.remove();
|
||||||
|
delete empties[parent];
|
||||||
|
}
|
||||||
objects[parent].treeList.addChild(existingObject)
|
objects[parent].treeList.addChild(existingObject)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue