From c9936e81ecb8d50187a9c31d2952353da2b538c8 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:55:00 -0400 Subject: [PATCH] fix: Archived Chats hides Export when the Allow Chat Export permission is off (#32684) --- .../chat/Settings/ArchivedChats.svelte | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/lib/components/chat/Settings/ArchivedChats.svelte b/src/lib/components/chat/Settings/ArchivedChats.svelte index 5b38ca0c8d..cd81f59086 100644 --- a/src/lib/components/chat/Settings/ArchivedChats.svelte +++ b/src/lib/components/chat/Settings/ArchivedChats.svelte @@ -252,17 +252,19 @@ - + {#if $user?.role === 'admin' || ($user?.permissions?.chat?.export ?? true)} + + {/if}