From 1c89aac2ff8460d510afd1b314b2dc3fe903b6ec Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 30 Jul 2021 17:25:04 -0500 Subject: [PATCH] harden hierargy walk function --- .../Foundations/UI/Function-Libraries/UiObjectsFromNodes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Projects/Foundations/UI/Function-Libraries/UiObjectsFromNodes.js b/Projects/Foundations/UI/Function-Libraries/UiObjectsFromNodes.js index ca704b123..23dea6628 100644 --- a/Projects/Foundations/UI/Function-Libraries/UiObjectsFromNodes.js +++ b/Projects/Foundations/UI/Function-Libraries/UiObjectsFromNodes.js @@ -354,7 +354,9 @@ function newFoundationsFunctionLibraryUiObjectsFromNodes() { case 'node': { if (node[property.name] !== undefined) { if (node[property.name].name === pathName && node[property.name].type === pathType) { - //console.log('this is a node property', node[property.name]) + nextNode = node[property.name] + console.log("we have a match!", nextNode) + return nextNode } } break