mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add empty marker to group
This commit is contained in:
parent
adfc5b3e98
commit
929f0e90ac
@ -613,6 +613,9 @@ RED.sidebar.info.outliner = (function() {
|
|||||||
objects[n.id].children = missingParents[n.id];
|
objects[n.id].children = missingParents[n.id];
|
||||||
delete missingParents[n.id]
|
delete missingParents[n.id]
|
||||||
}
|
}
|
||||||
|
if (objects[n.id].children.length === 0) {
|
||||||
|
objects[n.id].children.push(getEmptyItem(n.id));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
var parent = n.g||n.z||"__global__";
|
var parent = n.g||n.z||"__global__";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user