-
-
{$i18n.t('Settings')}
-
-
+
+
+
+
diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte
index 3250ce98f3..d44c2edac2 100644
--- a/src/lib/components/layout/Sidebar.svelte
+++ b/src/lib/components/layout/Sidebar.svelte
@@ -15,7 +15,6 @@
showSidebar,
showSearch,
mobile,
- showArchivedChats,
pinnedChats,
pinnedNotes,
temporaryChatEnabled,
@@ -57,7 +56,6 @@
import { createNoteHandler } from '$lib/components/notes/utils';
import { WEBUI_API_BASE_URL, WEBUI_BASE_URL } from '$lib/constants';
- import ArchivedChatsModal from './ArchivedChatsModal.svelte';
import UserMenu from './Sidebar/UserMenu.svelte';
import ChatItem from './Sidebar/ChatItem.svelte';
import Spinner from '../common/Spinner.svelte';
@@ -704,19 +702,6 @@
const isWindows = /Windows/i.test(navigator.userAgent);
-
{
- await initChatList();
- }}
- onDelete={(id) => {
- if ($chatId === id) {
- goto('/');
- chatId.set('');
- }
- }}
-/>
-
{
@@ -971,7 +956,7 @@
showActiveUsers={false}
on:show={(e) => {
if (e.detail === 'archived-chat') {
- showArchivedChats.set(true);
+ showSettings.set('archived_chats');
}
}}
>
@@ -1050,7 +1035,7 @@
@@ -1106,7 +1091,7 @@