Bring back ability to edit roles on members.

Improve ban list design.
This commit is contained in:
Paul
2021-07-24 18:46:33 +01:00
parent dbaf246c27
commit 71020e6e8c
6 changed files with 149 additions and 38 deletions

View File

@@ -64,12 +64,14 @@ export function Invites({ server }: Props) {
<code>{invite._id}</code>
<span>
<UserIcon target={creator} size={24} />{" "}
{creator?.username ?? "unknown"}
{creator?.username ?? (
<Text id="app.main.channel.unknown_user" />
)}
</span>
<span>
{channel && creator
? getChannelName(ctx.client, channel, true)
: "#unknown"}
: "#??"}
</span>
<IconButton
onClick={async () => {