Update NodesHighlights.js

This commit is contained in:
Luis Fernando Molina committed 2020-06-18 15:21:30 +02:00
1 parent f1b14f3996
commit d1d017caf2
1 file changed
+1
+1
View File
@@ -33,6 +33,7 @@ function newNodesHighlights () {
function highlight (nodeId) {
let node = hiriarchyMap.get(nodeId)
if (node === undefined) { return }
if (node.payload === undefined) { return }
if (node.payload.uiObject === undefined) { return }
node.payload.uiObject.highlight()