Add user count to user table headings

This commit is contained in:
Gabe Kangas 2021-11-12 16:47:31 -08:00
parent 3872b0bf13
commit 1cde33ca03

View file

@ -79,10 +79,10 @@ export default function ChatUsers() {
{connectedUsers}
<br />
<br />
<Title>Banned Users</Title>
<Title>Banned Users {online ? `(${disabledUsers.length})` : null}</Title>
<UserTable data={disabledUsers} />
<Title>Moderators</Title>
<Title>Moderators {online ? `(${moderators.length})` : null}</Title>
<UserTable data={moderators} />
</>
);