From 4d5db8e25436ada926a394c774ef2f583fae44f6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 29 Oct 2020 17:20:54 +0100 Subject: [PATCH] Update NodeChildren.js --- Projects/Superalgos/Utilities/NodeChildren.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/Superalgos/Utilities/NodeChildren.js b/Projects/Superalgos/Utilities/NodeChildren.js index 2aec22a55..913cdb8de 100644 --- a/Projects/Superalgos/Utilities/NodeChildren.js +++ b/Projects/Superalgos/Utilities/NodeChildren.js @@ -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 } }