mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix note hoisting
This commit is contained in:
		
							parent
							
								
									40247a591e
								
							
						
					
					
						commit
						2c7eb723d5
					
				| @ -84,12 +84,8 @@ export default class Entrypoints extends Component { | |||||||
|         if (note.noteId === hoistedNoteId) { |         if (note.noteId === hoistedNoteId) { | ||||||
|             hoistedNoteService.unhoist(); |             hoistedNoteService.unhoist(); | ||||||
|         } |         } | ||||||
|         else { |         else if (note.type !== 'search') { | ||||||
|             const note = await treeCache.getNote(note.noteId); |             hoistedNoteService.setHoistedNoteId(note.noteId); | ||||||
| 
 |  | ||||||
|             if (note.type !== 'search') { |  | ||||||
|                 hoistedNoteService.setHoistedNoteId(note.noteId); |  | ||||||
|             } |  | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam