1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2024-03-21 09:52:46 +02:00
parent 7b399d24e4
commit 46a1a962b3
No known key found for this signature in database
GPG Key ID: 86EF87A739B39099

View File

@ -42,7 +42,8 @@ export const useFilteredFlagsSummary = (
},
);
const flagsPerUser = sum.total / users.total;
const flagsPerUser =
sum.total && users?.total ? sum.total / users.total : 0;
return {
...sum,