From d0322dfcba8f4eafd4ea4f9ab972b1e86c065d3a Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:59:10 +0800 Subject: [PATCH] Hide version property if the value is undefined (#19395) 1.Related issue #19391 Signed-off-by: AllForNothing --- .../vulnerability-summary.component.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-summary/vulnerability-summary.component.html b/src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-summary/vulnerability-summary.component.html index 25618fa27..8f72132e4 100644 --- a/src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-summary/vulnerability-summary.component.html +++ b/src/portal/src/app/base/left-side-nav/interrogation-services/vulnerability-database/vulnerability-summary/vulnerability-summary.component.html @@ -229,10 +229,15 @@
{{ item?.cvss_score_v3 }}
-
- {{ item?.package + '@' + item?.version }} +
+ + {{ item?.package + '@' + item?.version }} + + + {{ item?.package }} +