fix: fetch sidebar folders once per refresh instead of three times (#28662)

This commit is contained in:
G30
2026-08-24 17:50:46 -04:00
committed by GitHub
parent a6834f089b
commit 683c92d064
-6
View File
@@ -306,10 +306,6 @@
folders = folderMap;
};
const initSharedFolders = async () => {
await initFolders();
};
const createFolder = async ({ name, data, parent_id }) => {
name = name?.trim();
if (!name) {
@@ -382,8 +378,6 @@
allChatsLoaded = false;
chatListReady = false;
initFolders();
initSharedFolders();
await Promise.all([
(async () => {
console.log('Init tags');