Skip to content

Commit cc526e3

Browse files
authored
fix: Modify the incorrect stringSet on the Banned user list (#1008)
[SBISSUE-15260](https://sendbird.atlassian.net/browse/SBISSUE-15260) ### ChangeLog & Fix * Modify the incorrect stringSet on the BannedUsersModal * `CHANNEL_SETTING__MUTED_MEMBERS__TITLE` to `CHANNEL_SETTING__BANNED_MEMBERS__TITLE` * `CHANNEL_SETTING__MODERATION__BAN` to `CHANNEL_SETTING__MODERATION__UNBAN` * also fixed the `dataSbId` of the MenuItem: `channel_setting_banned_user_context_menu_ban` to `channel_setting_banned_user_context_menu_unban`
1 parent 09b61e2 commit cc526e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function BannedUsersModal({
4141
hideFooter
4242
onCancel={() => onCancel()}
4343
onSubmit={noop}
44-
titleText={stringSet.CHANNEL_SETTING__MUTED_MEMBERS__TITLE}
44+
titleText={stringSet.CHANNEL_SETTING__BANNED_MEMBERS__TITLE}
4545
>
4646
<div
4747
className="sendbird-more-members__popup-scroll"
@@ -96,9 +96,9 @@ export default function BannedUsersModal({
9696
}));
9797
});
9898
}}
99-
dataSbId="channel_setting_banned_user_context_menu_ban"
99+
dataSbId="channel_setting_banned_user_context_menu_unban"
100100
>
101-
{stringSet.CHANNEL_SETTING__MODERATION__BAN}
101+
{stringSet.CHANNEL_SETTING__MODERATION__UNBAN}
102102
</MenuItem>
103103
</MenuItems>
104104
)}

0 commit comments

Comments
 (0)