feat: double click title to edit

This commit is contained in:
Jun Siang Cheah 2024-06-03 18:48:27 +01:00
parent b4fca046a8
commit 6022f6f5df
1 changed files with 4 additions and 0 deletions

View File

@ -507,6 +507,10 @@
showSidebar.set(false);
}
}}
on:dblclick={() => {
chatTitle = chat.title;
chatTitleEditId = chat.id;
}}
draggable="false"
>
<div class=" flex self-center flex-1 w-full">