1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

Remove toLocaleString from MetricsChartTooltip

This commit is contained in:
Gastón Fournier 2024-09-02 16:41:31 +02:00
parent e2cfd272df
commit 6b8874a26c
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -112,17 +112,17 @@ export const MetricsSummaryTooltip: VFC<{ tooltip: TooltipState | null }> = ({
/>
<InfoLine
iconChar={'▣ '}
title={`Total requests: ${(point.value.totalRequests ?? 0).toLocaleString()}`}
title={`Total requests: ${point.value.totalRequests ?? 0}`}
color={'info'}
/>
<InfoLine
iconChar={'▲ '}
title={`Exposed: ${(point.value.totalYes ?? 0).toLocaleString()}`}
title={`Exposed: ${point.value.totalYes ?? 0}`}
color={'success'}
/>
<InfoLine
iconChar={'▼ '}
title={`Not exposed: ${(point.value.totalNo ?? 0).toLocaleString()}`}
title={`Not exposed: ${point.value.totalNo ?? 0}`}
color={'error'}
/>
<ConditionallyRender