mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix(client/search): note IDs being calculated recursively in table
This commit is contained in:
		
							parent
							
								
									929eee1350
								
							
						
					
					
						commit
						c7224bc0d1
					
				| @ -140,7 +140,7 @@ export function useNoteIds(note: FNote | null | undefined, viewType: ViewTypeOpt | ||||
|     } | ||||
| 
 | ||||
|     async function getNoteIds(note: FNote) { | ||||
|         if (viewType === "list" || viewType === "grid") { | ||||
|         if (viewType === "list" || viewType === "grid" || viewType === "table") { | ||||
|             return note.getChildNoteIds(); | ||||
|         } else { | ||||
|             return await note.getSubtreeNoteIds(includeArchived); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran