refac: folder delete

This commit is contained in:
Timothy Jaeryang Baek committed 2025-07-14 19:09:54 +04:00
1 parent 92c9068369
commit 6a4542a321
3 files changed
+14 -4

No files matched your search

+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();
}}