mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix test
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
7b399d24e4
commit
46a1a962b3
@ -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 {
|
return {
|
||||||
...sum,
|
...sum,
|
||||||
|
Loading…
Reference in New Issue
Block a user