diff --git a/src/lib/components/admin/Settings/Database.svelte b/src/lib/components/admin/Settings/Database.svelte index edc72d3b69..07e136c43f 100644 --- a/src/lib/components/admin/Settings/Database.svelte +++ b/src/lib/components/admin/Settings/Database.svelte @@ -15,7 +15,7 @@ export let saveHandler: Function; const actionButtonClass = - 'rounded-md px-1.5 py-0.5 text-xs text-gray-500 transition-colors hover:bg-black/5 hover:text-gray-900 dark:text-gray-500 dark:hover:bg-white/5 dark:hover:text-white'; + 'px-0.5 text-xs text-gray-500 underline-offset-2 transition-colors hover:text-gray-900 hover:underline dark:text-gray-500 dark:hover:text-white'; const exportAllUserChats = async () => { let blob = new Blob([JSON.stringify(await getAllUserChats(localStorage.token))], { @@ -77,42 +77,36 @@ />
-
-
- {$i18n.t('Config')} -
-
- +
+ {$i18n.t('Config')} + - -
+
{#if $config?.features.enable_admin_export ?? true} -
-
- {$i18n.t('Database')} -
+
+ {$i18n.t('Export')} -
-
-
- {$i18n.t('All chats')} -
-
-
-
- {$i18n.t('Users')} -
{/if}