From 0af65960c41e68dc3b426780bc402b5df372a704 Mon Sep 17 00:00:00 2001 From: stanislavh Date: Thu, 14 Dec 2023 16:32:18 +0100 Subject: [PATCH] SONAR-21215 Fix condition statement for issues count in PR overview --- .../js/apps/overview/pullRequests/MeasuresCardNumber.tsx | 5 +---- 1 file changed, 1 insertion(+), 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), }, ); -- 2.39.5