mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	Merge branch 'stable'
This commit is contained in:
		| @@ -270,7 +270,10 @@ class NoteDetailBook { | ||||
|         return type; | ||||
|     } | ||||
|  | ||||
|     getContent() {} | ||||
|     getContent() { | ||||
|         // for auto-book cases when renaming title there should be content | ||||
|         return ""; | ||||
|     } | ||||
|  | ||||
|     show() { | ||||
|         this.$component.show(); | ||||
|   | ||||
| @@ -373,6 +373,7 @@ async function updateNote(noteId, noteUpdates) { | ||||
|     note.isProtected = noteUpdates.isProtected; | ||||
|     await note.save(); | ||||
|  | ||||
|     // this might be simplified to just !== undefined | ||||
|     if (!['file', 'image', 'render'].includes(note.type)) { | ||||
|         noteUpdates.content = await saveLinks(note, noteUpdates.content); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user