diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index e0965b080..f9d87e5dc 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -31,6 +31,7 @@ let chatTitle = ''; let showDropdown = false; + let isEditing = false; onMount(async () => { if (window.innerWidth > 1280) { @@ -372,6 +373,7 @@ ? 'bg-gray-900' : ''} transition whitespace-nowrap text-ellipsis" href="/c/{chat.id}" + draggable={isEditing ? 'false' : 'true'} >
{ chatTitle = chat.title; chatTitleEditId = chat.id; - // editChatTitle(chat.id, 'a'); + isEditing = true; }} >