diff --git a/ang/api4Explorer/Explorer.js b/ang/api4Explorer/Explorer.js index 10ed8f61472..41750691c61 100644 --- a/ang/api4Explorer/Explorer.js +++ b/ang/api4Explorer/Explorer.js @@ -326,7 +326,11 @@ } // Then lookup implicit links _.each(path, function(node) { - entity = _.find(links[entity], {alias: node}).entity; + var link = _.find(links[entity], {alias: node}); + if (!link) { + return false; + } + entity = link.entity; }); return entity; }