diff --git a/html/index.js b/html/index.js index 82fed25..aa8bb18 100644 --- a/html/index.js +++ b/html/index.js @@ -213,7 +213,7 @@ function hideAllResultsTabObjects () { function fillVersionsElement (input, element) { $(element).empty() $('Component' + - 'Version').appendTo($(element)) + 'Version').appendTo($(element)) for (const key in input) { $('' + key + '' + input[key] + '').appendTo($(element)) } @@ -925,7 +925,7 @@ function formatForFastTreeview (parentKey, data, arr) { const result = formatForFastTreeview(objectID, data[key], arr) const childName = result.name const childNamespace = result.namespace - if (childName !== '') { + if (childName !== '' && childNamespace !== '') { objectName = childName objectNamespace = childNamespace } diff --git a/html/results.html b/html/results.html index ee32f15..7347448 100644 --- a/html/results.html +++ b/html/results.html @@ -62,7 +62,7 @@ - +