From df85b93b539a8fb8cfb2790ea4948c02272f8d7d Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 5 Nov 2024 21:05:14 -0800 Subject: [PATCH] refac --- src/lib/components/chat/SettingsModal.svelte | 38 +++++++------------- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 2e531fe50..f656214eb 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -16,6 +16,7 @@ import User from '../icons/User.svelte'; import Personalization from './Settings/Personalization.svelte'; import SearchInput from '../layout/Sidebar/SearchInput.svelte'; + import Search from '../icons/Search.svelte'; const i18n = getContext('i18n'); @@ -338,7 +339,7 @@ } - +
{$i18n.t('Settings')}
@@ -361,38 +362,23 @@
-
+
- - +
+ {#if visibleTabs.length > 0} {#each visibleTabs as tabId (tabId)} {#if tabId === 'general'} @@ -604,7 +590,7 @@
{/if}
-
+
{#if selectedTab === 'general'}