mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-23 22:11:28 -05:00
refac: knowledge selector
This commit is contained in:
1 parent
84bf1892bb
commit
249b12e44f
2 files changed
+111
-38
No files matched your search
@@ -183,10 +183,7 @@
|
||||
onMount(async () => {
|
||||
await tools.set(await getTools(localStorage.token));
|
||||
await functions.set(await getFunctions(localStorage.token));
|
||||
await knowledgeCollections.set([
|
||||
...(await getNoteList(localStorage.token)),
|
||||
...(await getKnowledgeBases(localStorage.token))
|
||||
]);
|
||||
await knowledgeCollections.set([...(await getKnowledgeBases(localStorage.token))]);
|
||||
|
||||
// Scroll to top 'workspace-container' element
|
||||
const workspaceContainer = document.getElementById('workspace-container');
|
||||
|
||||
Reference in new issue
Block a user