diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 449eb5d144..0494281e32 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -48,7 +48,12 @@ deleteAllChats, getChatListBySearchText } from '$lib/apis/chats'; - import { createNewFolder, getFolders, getSharedFolders, updateFolderParentIdById } from '$lib/apis/folders'; + import { + createNewFolder, + getFolders, + getSharedFolders, + updateFolderParentIdById + } from '$lib/apis/folders'; import { createNewNote, getPinnedNoteList, toggleNotePinnedStatusById } from '$lib/apis/notes'; import { updateUserSettings } from '$lib/apis/users'; import { checkActiveChats } from '$lib/apis/tasks'; @@ -1421,9 +1426,9 @@ folder_id: null, created_at: item?.created_at ?? null, updated_at: item?.updated_at ?? null - } - ]); - } + } + ]); + } if (chat) { console.log(chat); diff --git a/src/lib/components/layout/Sidebar/ChatItem.svelte b/src/lib/components/layout/Sidebar/ChatItem.svelte index 4b60fa7c81..dd556b28d7 100644 --- a/src/lib/components/layout/Sidebar/ChatItem.svelte +++ b/src/lib/components/layout/Sidebar/ChatItem.svelte @@ -579,139 +579,139 @@ {#if !readonly} - + + + + + + + {#if id === $chatId} + + + {/if} + + {/if} + {/if} diff --git a/src/lib/components/layout/Sidebar/Folders/FolderMenu.svelte b/src/lib/components/layout/Sidebar/Folders/FolderMenu.svelte index 81647c6950..47b77d0429 100644 --- a/src/lib/components/layout/Sidebar/Folders/FolderMenu.svelte +++ b/src/lib/components/layout/Sidebar/Folders/FolderMenu.svelte @@ -83,8 +83,19 @@ onShare(); }} > - - + +
{$i18n.t('Share')}
diff --git a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte index 124791c93e..085bafa395 100644 --- a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte +++ b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte @@ -511,7 +511,7 @@ {/if} -
+
{#if draggedOver}
-
+
{/if} @@ -115,10 +128,7 @@ {/each} {#each children as child (child.id)} - + {/each} {#if chats.length === 0 && children.length === 0}