Update NodeChildren.js
This commit is contained in:
1 parent
074437d3ec
commit
4d5db8e254
1 file changed
+1
-2
@@ -92,7 +92,7 @@ function newSuperalgosUtilitiesNodeChildren() {
|
||||
switch (property.type) {
|
||||
case 'node': {
|
||||
let child = startingNode[property.name]
|
||||
|
||||
if (child === undefined) { continue }
|
||||
if (child.payload !== undefined) {
|
||||
if (child.payload.referenceParent !== undefined) {
|
||||
if (child.payload.referenceParent.id === checkNode.id) {
|
||||
@@ -121,7 +121,6 @@ function newSuperalgosUtilitiesNodeChildren() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user