mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Convert /api/users.
This commit is contained in:
parent
090abcff81
commit
baa3851fb4
61 changed files with 1064 additions and 70 deletions
|
|
@ -10,8 +10,3 @@
|
|||
font-size: var(--font-size-md);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.value {
|
||||
font-weight: 600;
|
||||
margin-inline-end: 4px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export function ActiveUsers({
|
|||
|
||||
const count = useMemo(() => {
|
||||
if (websiteId) {
|
||||
return data?.x || 0;
|
||||
return data?.visitors || 0;
|
||||
}
|
||||
|
||||
return value !== undefined ? value : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue