mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	correctly respect label @disableVersioning
This commit is contained in:
		| @@ -317,8 +317,7 @@ async function saveLinks(note, content) { | ||||
| } | ||||
|  | ||||
| async function saveNoteRevision(note) { | ||||
|     // files and images are immutable, they can't be updated | ||||
|     // but we don't even version titles which is probably not correct | ||||
|     // files and images are versioned separately | ||||
|     if (note.type === 'file' || note.type === 'image' || await note.hasLabel('disableVersioning')) { | ||||
|         return; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user