mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	reloading note tree when we have note detail changes
This commit is contained in:
		| @@ -29,7 +29,9 @@ const messaging = (function() { | |||||||
|  |  | ||||||
|             const syncData = message.data.filter(sync => sync.source_id !== glob.sourceId); |             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"); |                 console.log(now(), "Reloading tree because of background changes"); | ||||||
|  |  | ||||||
|                 noteTree.reload(); |                 noteTree.reload(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user