From bc50026f7b234706438a25f9f353ab78a591ea6a Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Mon, 21 Sep 2026 10:21:19 -0400 Subject: [PATCH] fix: make the Delete Chat shortcut work whenever a chat is open, not only while its sidebar row is rendered (#30165) --- src/lib/components/chat/Navbar.svelte | 13 +++++++++++++ src/lib/components/layout/Sidebar/ChatItem.svelte | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/lib/components/chat/Navbar.svelte b/src/lib/components/chat/Navbar.svelte index 061bb1ef0f..681a3675fc 100644 --- a/src/lib/components/chat/Navbar.svelte +++ b/src/lib/components/chat/Navbar.svelte @@ -149,6 +149,19 @@ {/if} + + {#if !$temporaryChatEnabled && ($user?.role === 'admin' || ($user?.permissions?.chat?.delete ?? true))} + + {/if} {:else}