mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix extra refresh because of duplicated sync event, closes #1063
This commit is contained in:
		| @@ -662,7 +662,9 @@ async function scanForLinks(note) { | ||||
|         const content = await note.getContent(); | ||||
|         const newContent = await saveLinks(note, content); | ||||
|  | ||||
|         await note.setContent(newContent); | ||||
|         if (content !== newContent) { | ||||
|             await note.setContent(newContent); | ||||
|         } | ||||
|     } | ||||
|     catch (e) { | ||||
|         log.error(`Could not scan for links note ${note.noteId}: ${e.message} ${e.stack}`); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user