aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardNumber.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardNumber.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardNumber.tsx
index 6ab310bb289..347c24e0525 100644
--- a/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardNumber.tsx
+++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardNumber.tsx
@@ -53,10 +53,7 @@ export default function MeasuresCardNumber(
{ id: 'overview.quality_gate.required_x' },
{
operator: condition.op === 'GT' ? '≤' : '≥',
- value: formatMeasure(condition.error, MetricType.Percent, {
- decimals: 2,
- omitExtraDecimalZeros: true,
- }),
+ value: formatMeasure(condition.error, MetricType.Integer),
},
);