1
0
Timothy Jaeryang Baek 3 сар өмнө
parent
commit
6a3b0e3110

+ 1 - 7
src/lib/components/workspace/Models/Knowledge/Selector.svelte

@@ -116,13 +116,7 @@
 					]
 				: [];
 
-		items = [
-			...notes,
-			...collections,
-			...collection_files,
-			...legacy_collections,
-			...legacy_documents
-		].map((item) => {
+		items = [...notes, ...collections, ...legacy_collections].map((item) => {
 			return {
 				...item,
 				...(item?.legacy || item?.meta?.legacy || item?.meta?.document ? { legacy: true } : {})