mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-26 11:40:56 -05:00
fix: fetch sidebar folders once per refresh instead of three times (#28662)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user