diff --git a/src/lib/components/app/AppControls.svelte b/src/lib/components/app/AppSidebar.svelte similarity index 80% rename from src/lib/components/app/AppControls.svelte rename to src/lib/components/app/AppSidebar.svelte index 6d3ca1854..828620f94 100644 --- a/src/lib/components/app/AppControls.svelte +++ b/src/lib/components/app/AppSidebar.svelte @@ -9,7 +9,7 @@
{#if selected === 'home'}
-
+
{/if} @@ -30,12 +30,12 @@
-
+
{#if selected === ''}
-
+
{/if}
-
+
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 862e0b077..7697eb1e4 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -43,7 +43,7 @@ import { bestMatchingLanguage } from '$lib/utils'; import { getAllTags, getChatList } from '$lib/apis/chats'; import NotificationToast from '$lib/components/NotificationToast.svelte'; - import AppControls from '$lib/components/app/AppControls.svelte'; + import AppSidebar from '$lib/components/app/AppSidebar.svelte'; setContext('i18n', i18n); @@ -209,6 +209,7 @@ if (res) { isApp.set(true); appInfo.set(res); + console.log(res); } } @@ -361,7 +362,7 @@ {#if loaded} {#if $isApp}
- +