feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db
This commit is contained in:
1 parent
1e76dbc9a0
commit
190b934ab5
6 files changed
+44
-25
No files matched your search
@@ -301,7 +301,7 @@
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
{#if $user?.role === 'admin'}
|
||||
{#if $user?.role === 'admin' && ($config?.allow_admin_export ?? true)}
|
||||
<hr class=" dark:border-gray-700" />
|
||||
|
||||
<button
|
||||
|
||||
Reference in new issue
Block a user