]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20742 Use utf-8 operators ≤ and ≥ rather than <= and >=
author7PH <benjamin.raymond@sonarsource.com>
Mon, 23 Oct 2023 08:26:27 +0000 (10:26 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 23 Oct 2023 20:02:42 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/overview/branches/MeasuresCardPercent.tsx

index 6b7da488f227a19db675f42035df24350ed3856a..fed7c608dc39b17c50c2ed09b34f5affc394f9e5 100644 (file)
@@ -96,7 +96,7 @@ export default function MeasuresCardPercent(
     errorRequireLabel = intl.formatMessage(
       { id: 'overview.quality_gate.required_x' },
       {
-        operator: failedCondition.op === 'GT' ? '<=' : '>=',
+        operator: failedCondition.op === 'GT' ? '≤' : '≥',
         value: formatMeasure(
           failedCondition.level === 'ERROR' ? failedCondition.error : failedCondition.warning,
           MetricType.Percent,