diff --git a/html/index.html b/html/index.html index 0128c83..cf60e71 100644 --- a/html/index.html +++ b/html/index.html @@ -51,12 +51,13 @@ import '@patternfly/elements/pf-text-input/pf-text-input.js'; import '@rhds/elements/rh-tabs/rh-tabs.js'; import '@rhds/elements/rh-accordion/rh-accordion.js'; + import '@rhds/elements/rh-table/rh-table.js'; import 'https://jspm.dev/@rhds/elements/rh-tag/rh-tag.js' - - + diff --git a/html/index.js b/html/index.js index 30e3599..ad3bc32 100644 --- a/html/index.js +++ b/html/index.js @@ -199,9 +199,10 @@ function hideAllResultsTabObjects () { // fills the "version" tab element with the data from the claim.json passed in input function fillVersionsElement (input, element) { $(element).empty() - $('ComponentVersion').appendTo($(element)) + $('Component' + + 'Version').appendTo($(element)) for (const key in input) { - $('' + key + '' + input[key] + '').appendTo($(element)) + $('' + key + '' + input[key] + '').appendTo($(element)) } $('').appendTo($(element)) } diff --git a/html/results.html b/html/results.html index 9b51ecc..d64fa87 100644 --- a/html/results.html +++ b/html/results.html @@ -51,18 +51,19 @@ import '@patternfly/elements/pf-text-input/pf-text-input.js'; import '@rhds/elements/rh-tabs/rh-tabs.js'; import '@rhds/elements/rh-accordion/rh-accordion.js'; + import '@rhds/elements/rh-table/rh-table.js'; import 'https://jspm.dev/@rhds/elements/rh-tag/rh-tag.js' - - + - +