Timothy Jaeryang Baek 3 月之前
父節點
當前提交
6a3b0e3110
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      src/lib/components/workspace/Models/Knowledge/Selector.svelte

+ 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 } : {})