mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 21:45:59 +03:00
Only show online client count if we are online. closes https://github.com/owncast/owncast/issues/1306
This commit is contained in:
parent
ad59d6ebda
commit
1e436bdb67
1 changed files with 2 additions and 1 deletions
|
@ -64,9 +64,10 @@ export default function ChatUsers() {
|
|||
When a stream is active and chat is enabled, connected chat clients will be displayed here.
|
||||
</p>
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Title>Connected Chat Participants ({clients.length})</Title>
|
||||
<Title>Connected Chat Participants {online ? `(${clients.length})` : null}</Title>
|
||||
{connectedUsers}
|
||||
<br />
|
||||
<br />
|
||||
|
|
Loading…
Reference in a new issue