refac: folder delete

This commit is contained in:
Timothy Jaeryang Baek
2025-07-14 19:09:54 +04:00
parent 92c9068369
commit 6a4542a321
3 changed files with 14 additions and 4 deletions
+7 -3
View File
@@ -885,13 +885,17 @@
<Folders
{folders}
{shiftKey}
onDelete={(folderId) => {
selectedFolder.set(null);
initChatList();
}}
on:update={() => {
initChatList();
}}
on:import={(e) => {
const { folderId, items } = e.detail;
importChatHandler(items, false, folderId);
}}
on:update={async (e) => {
initChatList();
}}
on:change={async () => {
initChatList();
}}