diff --git a/src/routes/pubnix/+page.svelte b/src/routes/pubnix/+page.svelte index 81b7e6b..7e18b7a 100644 --- a/src/routes/pubnix/+page.svelte +++ b/src/routes/pubnix/+page.svelte @@ -36,17 +36,8 @@
There is {onlineUserCount} user online out of {userCount} users.
-There are {onlineUserCount} users online out of {userCount} users.
+ {#if data.users.users.some(isOnline)} +There {onlineUserCount === 1 ? "is" : "are"} {onlineUserCount} {onlineUserCount === 1 ? "user" : "users"} online out of {userCount} users.
No users online out of {userCount} users.
+No users online
{/if} {:else}{data.users.message}