From 95514f81572b6b4ea157c0f2472bd104dfff5fe1 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Sun, 9 Feb 2025 23:19:15 -0500 Subject: [PATCH 1/3] fix securescore add actionLink handler to Remediate fix text decoration on links in html --- .../administration/securescore/index.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/pages/tenant/administration/securescore/index.js b/src/pages/tenant/administration/securescore/index.js index 432b4946e82f..b84506ca01c7 100644 --- a/src/pages/tenant/administration/securescore/index.js +++ b/src/pages/tenant/administration/securescore/index.js @@ -28,6 +28,14 @@ const Page = () => { TimeAgo.addLocale(en); const timeAgo = new TimeAgo("en-US"); + + const openRemediation = (url) => { + if (url.startsWith("https")) { + window.open(url, "_blank"); + } else { + navigate(url); + } + }; return ( { CardButton={ <> - + {secureScoreControl.controlStateUpdates?.length > 0 && (