mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix: fetch sidebar folders once per refresh instead of three times (#28662)
This commit is contained in:
parent
a6834f089b
commit
683c92d064
1 changed files with 0 additions and 6 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue