mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +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) { |     async function getNoteIds(note: FNote) { | ||||||
|         if (viewType === "list" || viewType === "grid") { |         if (viewType === "list" || viewType === "grid" || viewType === "table") { | ||||||
|             return note.getChildNoteIds(); |             return note.getChildNoteIds(); | ||||||
|         } else { |         } else { | ||||||
|             return await note.getSubtreeNoteIds(includeArchived); |             return await note.getSubtreeNoteIds(includeArchived); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran