fix: knowledge base reset

This commit is contained in:
Timothy Jaeryang Baek 2024-11-21 20:29:54 -08:00
parent 3816e3c2ef
commit ea28747baa

View File

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