mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 10:22:36 +01:00
Merge branch 'deleteroom-confirm' into 'dev'
Show room name in delete confirmation. See merge request nitro/nitro-react!39
This commit is contained in:
commit
7ed6db79f7
@ -24,7 +24,7 @@ export const NavigatorRoomSettingsBasicTabView: FC<NavigatorRoomSettingsTabViewP
|
|||||||
|
|
||||||
const deleteRoom = () =>
|
const deleteRoom = () =>
|
||||||
{
|
{
|
||||||
NotificationUtilities.confirm(LocalizeText('navigator.roomsettings.deleteroom.confirm.message'), () =>
|
NotificationUtilities.confirm(LocalizeText('navigator.roomsettings.deleteroom.confirm.message', [ 'room_name' ], [ roomSettingsData.roomName ] ), () =>
|
||||||
{
|
{
|
||||||
SendMessageComposer(new RoomDeleteComposer(roomSettingsData.roomId));
|
SendMessageComposer(new RoomDeleteComposer(roomSettingsData.roomId));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user