Display all server roles separately.

This commit is contained in:
Paul
2021-08-08 21:50:29 +01:00
parent 096ab6caec
commit f2622121a4
3 changed files with 46 additions and 9 deletions

View File

@@ -50,7 +50,9 @@ export default function MemberList({
const type = entries[index].type;
return (
<ListCategory first={index === 0}>
{type === "online" ? (
{type === "role" ? (
<>{entries[index].name}</>
) : type === "online" ? (
<Text id="app.status.online" />
) : (
<Text id="app.status.offline" />