Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
correctly specify space room action
Browse files Browse the repository at this point in the history
  • Loading branch information
EECvision committed Apr 12, 2022
1 parent f7c5cad commit 21dee1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/right_panel/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ const BanToggleButton = ({ room, member, startUpdating, stopUpdating }: Omit<IBa
{
member,
action: room.isSpaceRoom() ?
isBanned ? _t("Unban from room") : _t("Ban from room")
: isBanned ? _t("Unban from space") : _t("Ban from space"),
isBanned ? _t("Unban from space") : _t("Ban from space")
: isBanned ? _t("Unban from room") : _t("Ban from room"),
title: isBanned
? _t("Unban from %(roomName)s", { roomName: room.name })
: _t("Ban from %(roomName)s", { roomName: room.name }),
Expand Down

0 comments on commit 21dee1d

Please sign in to comment.