From ac21dbb0853c1c189dd18be34c506717229710bd Mon Sep 17 00:00:00 2001
From: cjenkscybercom <christina.jenks@knowit.se>
Date: Fri, 3 Nov 2023 13:09:24 +0100
Subject: [PATCH] CE-2227: add external link to ioc details page

---
 src/components/IOC/IOCManage/IOCManage.js | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/components/IOC/IOCManage/IOCManage.js b/src/components/IOC/IOCManage/IOCManage.js
index a17e4a0c..0b3100b0 100644
--- a/src/components/IOC/IOCManage/IOCManage.js
+++ b/src/components/IOC/IOCManage/IOCManage.js
@@ -25,6 +25,7 @@ import { DeploymentStatus } from "../../../api/DataTypes";
 import { IOCService } from "../IOCService";
 import { JobTable } from "../../Job";
 import { apiContext } from "../../../api/DeployApi";
+import { ExternalLink, ExternalLinkContents } from "../../common/Link";
 
 export function IOCManage({
   ioc,
@@ -96,16 +97,12 @@ export function IOCManage({
           </Typography>
         ),
         Repository: (
-          <Typography>
-            <MuiLink
-              href={git}
-              target="_blank"
-              rel="noreferrer"
-              underline="hover"
-            >
-              {git}
-            </MuiLink>
-          </Typography>
+          <ExternalLink
+            href={git}
+            aria-label="Git Repository"
+          >
+            <ExternalLinkContents>{git}</ExternalLinkContents>
+          </ExternalLink>
         )
       };
 
-- 
GitLab