This commit is contained in:
Timothy Jaeryang Baek
2025-09-26 21:16:34 -05:00
parent c80bb31968
commit a05dab6298
6 changed files with 100 additions and 33 deletions
+6
View File
@@ -80,7 +80,10 @@
let allChatsLoaded = false;
let showCreateFolderModal = false;
let folders = {};
let folderRegistry = {};
let newFolderId = null;
const initFolders = async () => {
@@ -922,6 +925,7 @@
}}
>
<Folders
bind:folderRegistry
{folders}
{shiftKey}
onDelete={(folderId) => {
@@ -981,6 +985,8 @@
return null;
}
);
folderRegistry[chat.folder_id]?.setFolderItems();
}
if (chat.pinned) {