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:
parent
aea2f613df
commit
9b14a905a7
@ -45,7 +45,7 @@ export const useFilteredFlagsSummary = (
|
|||||||
const flagsPerUserCalculation = sum.total / users.total;
|
const flagsPerUserCalculation = sum.total / users.total;
|
||||||
const flagsPerUser = Number.isNaN(flagsPerUserCalculation)
|
const flagsPerUser = Number.isNaN(flagsPerUserCalculation)
|
||||||
? 'N/A'
|
? 'N/A'
|
||||||
: flagsPerUserCalculation.toFixed(1);
|
: flagsPerUserCalculation.toFixed(2);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...sum,
|
...sum,
|
||||||
|
Loading…
Reference in New Issue
Block a user