diff --git a/client/src/app/components/ExternalLink.tsx b/client/src/app/components/ExternalLink.tsx
index 356636164..3357db707 100644
--- a/client/src/app/components/ExternalLink.tsx
+++ b/client/src/app/components/ExternalLink.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import { Flex, FlexItem, Icon, Text } from "@patternfly/react-core";
+import { Button, Icon } from "@patternfly/react-core";
import ExternalLinkAltIcon from "@patternfly/react-icons/dist/esm/icons/external-link-alt-icon";
/**
@@ -7,20 +7,25 @@ import ExternalLinkAltIcon from "@patternfly/react-icons/dist/esm/icons/external
*/
export const ExternalLink: React.FC<{
href: string;
+ isInline?: boolean;
children: React.ReactNode;
-}> = ({ href, children }) => (
-
-
-
- {children}
-
-
-
+}> = ({ href, isInline = false, children }) => (
+
-
+ }
+ iconPosition="right"
+ >
+ {children}
+
);
export default ExternalLink;
diff --git a/client/src/app/pages/dependencies/dependency-apps-table.tsx b/client/src/app/pages/dependencies/dependency-apps-table.tsx
index b2e6d9e4d..793db7182 100644
--- a/client/src/app/pages/dependencies/dependency-apps-table.tsx
+++ b/client/src/app/pages/dependencies/dependency-apps-table.tsx
@@ -269,7 +269,9 @@ const DependencyVersionColumn = ({
return (
{mavenCentralLink ? (
- {version}
+
+ {version}
+
) : (
{version}
)}
diff --git a/client/src/app/pages/issues/components/issue-description-and-links.tsx b/client/src/app/pages/issues/components/issue-description-and-links.tsx
index 991ab5fed..10314a0b8 100644
--- a/client/src/app/pages/issues/components/issue-description-and-links.tsx
+++ b/client/src/app/pages/issues/components/issue-description-and-links.tsx
@@ -1,11 +1,11 @@
import * as React from "react";
import ReactMarkdown from "react-markdown";
-import { TextContent, List, ListItem, Button } from "@patternfly/react-core";
+import { TextContent, List, ListItem } from "@patternfly/react-core";
import spacing from "@patternfly/react-styles/css/utilities/Spacing/spacing";
-import ExternalLinkSquareAltIcon from "@patternfly/react-icons/dist/esm/icons/external-link-square-alt-icon";
import { AnalysisIssueLink } from "@app/api/models";
import { markdownPFComponents } from "@app/components/markdownPFComponents";
+import ExternalLink from "@app/components/ExternalLink";
export interface IIssueDescriptionAndLinksProps {
description: string;
@@ -26,17 +26,7 @@ export const IssueDescriptionAndLinks: React.FC<
{links.map((link) => (
- }
- iconPosition="right"
- href={link.url}
- target="_blank"
- rel="noreferrer"
- >
- {link.title}
-
+ {link.title}
))}
diff --git a/client/src/app/pages/migration-waves/components/ticket-issue.tsx b/client/src/app/pages/migration-waves/components/ticket-issue.tsx
index a1004ffcb..75e80c4ff 100644
--- a/client/src/app/pages/migration-waves/components/ticket-issue.tsx
+++ b/client/src/app/pages/migration-waves/components/ticket-issue.tsx
@@ -17,7 +17,9 @@ export const TicketIssue: React.FC = ({ ticket }) => {
return (
{ticket?.link ? (
- {ticketIssue}
+
+ {ticketIssue}
+
) : (
t("terms.unassigned")
)}