refac: knowledge selector

This commit is contained in:
Timothy Jaeryang Baek
2025-07-11 01:41:40 +04:00
parent 84bf1892bb
commit 249b12e44f
2 changed files with 111 additions and 38 deletions

View File

@@ -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');