mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 04:54:12 +00:00
fix: knowledge base reset
This commit is contained in:
parent
3816e3c2ef
commit
ea28747baa
@ -68,7 +68,7 @@
|
|||||||
let inputFiles = null;
|
let inputFiles = null;
|
||||||
|
|
||||||
let filteredItems = [];
|
let filteredItems = [];
|
||||||
$: if (knowledge) {
|
$: if (knowledge && knowledge.files) {
|
||||||
fuse = new Fuse(knowledge.files, {
|
fuse = new Fuse(knowledge.files, {
|
||||||
keys: ['meta.name', 'meta.description']
|
keys: ['meta.name', 'meta.description']
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user