aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/measure/Measure.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/measure/Measure.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/measure/Measure.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/measure/Measure.tsx b/server/sonar-web/src/main/js/components/measure/Measure.tsx
index 8abc4e62781..b3d99084a10 100644
--- a/server/sonar-web/src/main/js/components/measure/Measure.tsx
+++ b/server/sonar-web/src/main/js/components/measure/Measure.tsx
@@ -39,7 +39,7 @@ export default function Measure({
metricKey,
metricType,
small,
- value
+ value,
}: Props) {
if (value === undefined) {
return <span className={className}>–</span>;
@@ -52,7 +52,7 @@ export default function Measure({
if (metricType !== 'RATING') {
const formattedValue = formatMeasure(value, metricType, {
decimals,
- omitExtraDecimalZeros: metricType === 'PERCENT'
+ omitExtraDecimalZeros: metricType === 'PERCENT',
});
return <span className={className}>{formattedValue != null ? formattedValue : '–'}</span>;
}