mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fixed infinite recursion with search notes
This commit is contained in:
		
							parent
							
								
									74044754e2
								
							
						
					
					
						commit
						375dba3264
					
				| @ -392,7 +392,7 @@ class FNote { | |||||||
|         for (const parentNote of this.getParentNotes()) { |         for (const parentNote of this.getParentNotes()) { | ||||||
|             if (parentNote.noteId === 'root') { |             if (parentNote.noteId === 'root') { | ||||||
|                 return false; |                 return false; | ||||||
|             } else if (parentNote.noteId === '_hidden') { |             } else if (parentNote.noteId === '_hidden' || parentNote.type === 'search') { | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam