From 03255fe4852dd72b5d0774a7b2b710e73d78a374 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelsalam Date: Tue, 10 Dec 2024 16:11:02 +0100 Subject: [PATCH] Fix: Hide EPSS scores columns in compliance view --- src/web/pages/results/row.jsx | 2 +- src/web/pages/results/table.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/pages/results/row.jsx b/src/web/pages/results/row.jsx index 18ee6ad6ed..151ea29149 100644 --- a/src/web/pages/results/row.jsx +++ b/src/web/pages/results/row.jsx @@ -162,7 +162,7 @@ const Row = ({ {entity.port} { - gmp.settings.enableEPSS && + gmp.settings.enableEPSS && !audit && <> {isNumber(epssScore) ? epssScore.toFixed(5) : _("N/A")} diff --git a/src/web/pages/results/table.jsx b/src/web/pages/results/table.jsx index ff936cba57..472d8c129c 100644 --- a/src/web/pages/results/table.jsx +++ b/src/web/pages/results/table.jsx @@ -116,7 +116,7 @@ const Header = ({ title={_('Location')} /> { - gmp.settings.enableEPSS && + gmp.settings.enableEPSS && !audit && {_("EPSS")} @@ -148,7 +148,7 @@ const Header = ({ title={_('Name')} /> { - gmp.settings.enableEPSS && + gmp.settings.enableEPSS && !audit && <>