diff --git a/src/lib/components/layout/Navbar/Menu.svelte b/src/lib/components/layout/Navbar/Menu.svelte index 6d5d47871..51578561c 100644 --- a/src/lib/components/layout/Navbar/Menu.svelte +++ b/src/lib/components/layout/Navbar/Menu.svelte @@ -279,13 +279,13 @@
- {#if $mobile && ($user?.role === 'admin' || ($user?.permissions.chat?.controls ?? true))} - { @@ -329,7 +329,7 @@ {/if} - { @@ -344,7 +344,7 @@ {#if ($artifactContents ?? []).length > 0} - { @@ -362,7 +362,7 @@
{#if !$temporaryChatEnabled && ($user?.role === 'admin' || ($user.permissions?.chat?.share ?? true))} - { @@ -375,7 +375,7 @@ {/if} - @@ -383,12 +383,12 @@
{$i18n.t('Download')}
{#if $user?.role === 'admin' || ($user.permissions?.chat?.export ?? true)} - { downloadJSONExport(); @@ -397,7 +397,7 @@
{$i18n.t('Export chat (.json)')}
{/if} - { downloadTxt(); @@ -406,7 +406,7 @@
{$i18n.t('Plain text (.txt)')}
- { downloadPdf(); @@ -417,7 +417,7 @@
- { @@ -439,7 +439,7 @@ {#if $folders.length > 0} - @@ -447,13 +447,13 @@
{$i18n.t('Move')}
{#each $folders.sort((a, b) => b.updated_at - a.updated_at) as folder} {#if folder?.id} - { moveChatHandler(chat.id, folder.id); @@ -469,7 +469,7 @@
{/if} - { archiveChatHandler(); diff --git a/src/lib/components/layout/Sidebar/ChatMenu.svelte b/src/lib/components/layout/Sidebar/ChatMenu.svelte index f367a94eb..8ab32a4e0 100644 --- a/src/lib/components/layout/Sidebar/ChatMenu.svelte +++ b/src/lib/components/layout/Sidebar/ChatMenu.svelte @@ -294,14 +294,14 @@
{#if $user?.role === 'admin' || ($user.permissions?.chat?.share ?? true)} - { shareHandler(); @@ -313,7 +313,7 @@ {/if} - @@ -321,12 +321,12 @@
{$i18n.t('Download')}
{#if $user?.role === 'admin' || ($user.permissions?.chat?.export ?? true)} - { downloadJSONExport(); @@ -336,7 +336,7 @@ {/if} - { downloadTxt(); @@ -345,7 +345,7 @@
{$i18n.t('Plain text (.txt)')}
- { downloadPdf(); @@ -356,7 +356,7 @@
- { renameHandler(); @@ -368,7 +368,7 @@
- { pinHandler(); @@ -383,7 +383,7 @@ {/if} - { cloneChatHandler(); @@ -395,7 +395,7 @@ {#if chatId && $folders.length > 0} - @@ -403,12 +403,12 @@
{$i18n.t('Move')}
{#each $folders.sort((a, b) => b.updated_at - a.updated_at) as folder} - { moveChatHandler(chatId, folder.id); @@ -423,7 +423,7 @@
{/if} - { archiveChatHandler(); @@ -433,7 +433,7 @@
{$i18n.t('Archive')}
- { deleteHandler();