Commit 6022f6f5 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

feat: double click title to edit

parent b4fca046
...@@ -507,6 +507,10 @@ ...@@ -507,6 +507,10 @@
showSidebar.set(false); showSidebar.set(false);
} }
}} }}
on:dblclick={() => {
chatTitle = chat.title;
chatTitleEditId = chat.id;
}}
draggable="false" draggable="false"
> >
<div class=" flex self-center flex-1 w-full"> <div class=" flex self-center flex-1 w-full">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment