diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 75e05bbd7..238b9e66f 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -366,28 +366,34 @@ } }) as chat, i}
- -
-
- {#if chatTitleEditId === chat.id} - - {:else} - {chat.title} - {/if} -
+ {#if chatTitleEditId === chat.id} +
+
-
+ {:else} + +
+
+ {chat.title} +
+
+
+ {/if} {#if chat.id === $chatId}
@@ -399,7 +405,6 @@ editChatTitle(chat.id, chatTitle); chatTitleEditId = null; chatTitle = ''; - isEditing = false; }} > { chatTitle = chat.title; chatTitleEditId = chat.id; - isEditing = true; }} >