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 @@ - - - - {$i18n.t('settings.personal.archivedChats.exportArchivedChats.label')} - - + {#if $user?.role === 'admin' || ($user?.permissions?.chat?.export ?? true)} + + + + {$i18n.t('settings.personal.archivedChats.exportArchivedChats.label')} + + + {/if}