1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

Update frontend/src/component/executiveDashboard/hooks/useFilteredFlagsSummary.ts

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
This commit is contained in:
andreas-unleash 2024-03-21 12:41:46 +02:00 committed by GitHub
parent aea2f613df
commit 9b14a905a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ export const useFilteredFlagsSummary = (
const flagsPerUserCalculation = sum.total / users.total;
const flagsPerUser = Number.isNaN(flagsPerUserCalculation)
? 'N/A'
: flagsPerUserCalculation.toFixed(1);
: flagsPerUserCalculation.toFixed(2);
return {
...sum,