aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx b/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
index 49df2cc3647..92ffdfe5690 100644
--- a/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
+++ b/server/sonar-web/src/main/js/apps/projectLinks/LinkRow.tsx
@@ -19,6 +19,7 @@
*/
import * as React from 'react';
import isValidUri from '../../app/utils/isValidUri';
+import Link from '../../components/common/Link';
import { Button } from '../../components/controls/buttons';
import ConfirmButton from '../../components/controls/ConfirmButton';
import ProjectLinkIcon from '../../components/icons/ProjectLinkIcon';
@@ -93,9 +94,9 @@ export default class LinkRow extends React.PureComponent<Props> {
<td className="nowrap">{this.renderName(link)}</td>
<td className="nowrap js-url">
{isValidUri(link.url) ? (
- <a href={link.url} rel="nofollow noreferrer noopener" target="_blank">
+ <Link to={link.url} target="_blank">
{link.url}
- </a>
+ </Link>
) : (
link.url
)}