diff options
author | stanislavh <stanislav.honcharov@sonarsource.com> | 2024-04-23 14:12:32 +0200 |
---|---|---|
committer | Matteo Mara <matteo.mara@sonarsource.com> | 2024-04-30 10:59:02 +0200 |
commit | cf3c5203c08b21b12108b917a1725a7829d63109 (patch) | |
tree | 12c8ea6ee318f9643a67e0a71a946292afc2d79c /server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx | |
parent | 508bdf5808b401dd0745c0b01c4a8c5ad87bb307 (diff) | |
download | sonarqube-cf3c5203c08b21b12108b917a1725a7829d63109.tar.gz sonarqube-cf3c5203c08b21b12108b917a1725a7829d63109.zip |
SONAR-22049 Align RatingLabel type
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx index 2f9afad7e32..352418538c0 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx @@ -20,10 +20,10 @@ import { CoverageIndicator, DuplicationsIndicator, - MetricsLabel, MetricsRatingBadge, Note, PageContentFontWrapper, + RatingLabel, } from 'design-system'; import * as React from 'react'; import Measure from '../../../../components/measure/Measure'; @@ -178,7 +178,7 @@ function renderRatings(props: ProjectCardMeasuresProps) { return ( <ProjectCardMeasure key={metricKey} metricKey={metricKey} label={iconLabel}> - <MetricsRatingBadge label={metricKey} rating={value as MetricsLabel} /> + <MetricsRatingBadge label={metricKey} rating={value as RatingLabel} /> <Measure metricKey={metricKey} metricType={metricType} |