From bbd143ed25132f518e6647e6e9d6a62b97fbe31b Mon Sep 17 00:00:00 2001 From: n9lsjr Date: Tue, 12 Nov 2024 22:35:42 +0100 Subject: [PATCH] Add close on ban --- src/routes/rooms/components/UserInfo.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/rooms/components/UserInfo.svelte b/src/routes/rooms/components/UserInfo.svelte index 8a4d576b..e59041e3 100644 --- a/src/routes/rooms/components/UserInfo.svelte +++ b/src/routes/rooms/components/UserInfo.svelte @@ -11,7 +11,7 @@ const ban = () => { window.api.send('ban-user', {address: user.address, key: $rooms.thisRoom.key}) window.api.successMessage('Banned user') - $rooms.showUserInfo = false + close() } const close = () => {