aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx b/server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx
index 855449adc3a..20328aaa1c2 100644
--- a/server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx
+++ b/server/sonar-web/src/main/js/components/measure/RatingTooltipContent.tsx
@@ -41,8 +41,8 @@ export interface RatingTooltipContentProps {
function getMaintainabilityGrid(ratingGridSetting: string) {
const numbers = ratingGridSetting
.split(',')
- .map(s => parseFloat(s))
- .filter(n => !isNaN(n));
+ .map((s) => parseFloat(s))
+ .filter((n) => !isNaN(n));
return numbers.length === RATING_GRID_SIZE ? numbers : [0, 0, 0, 0];
}
@@ -51,7 +51,7 @@ export function RatingTooltipContent(props: RatingTooltipContentProps) {
const {
appState: { settings },
metricKey,
- value
+ value,
} = props;
const finalMetricKey = isDiffMetric(metricKey)