Skip to content

Commit

Permalink
chore: Show 0 instead of - when there are no users on a site (#24249)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech authored Aug 7, 2024
1 parent 4bdd564 commit 46e6624
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/scenes/activity/live/LiveEventsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function LiveEventsTable(): JSX.Element {
<span className="relative inline-flex rounded-full h-2.5 w-2.5 bg-danger" />
</span>
<span className="text-sm cursor-default">
Users active right now: <b>{stats?.users_on_product ?? ''}</b>
Users active right now: <b>{stats?.users_on_product ?? '0'}</b>
</span>
</div>
</Tooltip>
Expand Down

0 comments on commit 46e6624

Please sign in to comment.