Minor code adjustments

Minor code adjustments
This commit is contained in:
Alezia Kurdis 2020-11-21 22:02:49 -05:00 committed by GitHub
parent b633bc4a16
commit 343ded8c6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2931,7 +2931,7 @@ function getDomainOnlyChildrenIDs(id) {
var properties;
for (var i = 0; i < allChildren.length; i++) {
properties = Entities.getEntityProperties(allChildren[i], ["name"]);
if (properties.name !== entityShapeVisualizerSessionName && properties.name !== undefined) {
if (properties.name !== undefined && properties.name !== entityShapeVisualizerSessionName) {
realChildren.push(allChildren[i]);
}
}