1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
This commit is contained in:
Dave Conway-Jones 2020-05-16 22:24:38 +01:00
commit 64d2e80690
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

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