From 53c250f691e0a6275e60ce8f1aceb6933685670d Mon Sep 17 00:00:00 2001 From: aabughosh <88486034+aabughosh@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:01:40 +0200 Subject: [PATCH 1/3] add the missing imports for redhat table add the missing imports for redhat table and fixed labels in version table --- html/index.html | 5 +++-- html/index.js | 5 +++-- html/results.html | 7 ++++--- 3 files changed, 10 insertions(+), 7 deletions(-) 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 489c339..f839c6d 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 25a1a32..cf4f24b 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' - - + - + - +