mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	reloading note tree when we have note detail changes
This commit is contained in:
		
							parent
							
								
									b5baab056c
								
							
						
					
					
						commit
						c022fcf196
					
				| @ -29,7 +29,9 @@ const messaging = (function() { | ||||
| 
 | ||||
|             const syncData = message.data.filter(sync => sync.source_id !== glob.sourceId); | ||||
| 
 | ||||
|             if (syncData.some(sync => sync.entity_name === 'notes_tree')) { | ||||
|             if (syncData.some(sync => sync.entity_name === 'notes_tree') | ||||
|                 || syncData.some(sync => sync.entity_name === 'notes')) { | ||||
| 
 | ||||
|                 console.log(now(), "Reloading tree because of background changes"); | ||||
| 
 | ||||
|                 noteTree.reload(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner