]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20665 Fix QP event link style
authorAmbroise C <ambroise.christea@sonarsource.com>
Wed, 18 Oct 2023 09:34:01 +0000 (11:34 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 18 Oct 2023 20:03:05 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/activity-graph/RichQualityProfileEventInner.tsx

index 657cd5ec49de03ce99e1e7f4b3afa0163e2609e5..a9c69032ba2656aa1bb678872e85833ffdb1cf95 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
-import { Link } from 'design-system';
+import { DiscreetLink } from 'design-system';
 import React from 'react';
 import { useIntl } from 'react-intl';
 import { getProfileChangelogPath } from '../../apps/quality-profiles/utils';
@@ -53,7 +53,7 @@ export function RichQualityProfileEventInner({
   return (
     <span aria-label={name}>
       {truncatedName}
-      <Link
+      <DiscreetLink
         aria-label={intl.formatMessage(
           { id: 'quality_profiles.page_title_changelog_x' },
           { 0: qualityProfileName },
@@ -61,7 +61,7 @@ export function RichQualityProfileEventInner({
         to={getProfileChangelogPath(qualityProfileName, languageKey)}
       >
         {description}
-      </Link>
+      </DiscreetLink>
     </span>
   );
 }