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

Revert "Remove toLocaleString from MetricsChartTooltip"

This reverts commit 6b8874a26c.
This commit is contained in:
Gastón Fournier 2024-09-02 17:15:28 +02:00
parent 0521fc3e03
commit 3ca1c61814
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}`}
title={`Total requests: ${(point.value.totalRequests ?? 0).toLocaleString()}`}
color={'info'}
/>
<InfoLine
iconChar={'▲ '}
title={`Exposed: ${point.value.totalYes ?? 0}`}
title={`Exposed: ${(point.value.totalYes ?? 0).toLocaleString()}`}
color={'success'}
/>
<InfoLine
iconChar={'▼ '}
title={`Not exposed: ${point.value.totalNo ?? 0}`}
title={`Not exposed: ${(point.value.totalNo ?? 0).toLocaleString()}`}
color={'error'}
/>
<ConditionallyRender