aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx b/server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx
index 3a6b5971893..2b177dde32f 100644
--- a/server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx
+++ b/server/sonar-web/src/main/js/apps/portfolio/components/MainRating.tsx
@@ -30,7 +30,7 @@ interface Props {
export default function MainRating({ component, metric, value }: Props) {
return (
- <Link to={getMeasureTreemapUrl(component, metric)} className="portfolio-box-rating">
+ <Link className="portfolio-box-rating" to={getMeasureTreemapUrl(component, metric)}>
<Rating value={value} />
</Link>
);