mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	display current note ID in editor (useful in Electron which doesn't have address bar)
This commit is contained in:
		| @@ -104,8 +104,6 @@ async function protectNote(note, dataKey, protect, sourceId) { | ||||
|     } | ||||
|  | ||||
|     if (changed) { | ||||
|         console.log("Updating..."); | ||||
|  | ||||
|         await sql.execute("UPDATE notes SET note_title = ?, note_text = ?, is_protected = ? WHERE note_id = ?", | ||||
|             [note.note_title, note.note_text, note.is_protected, note.note_id]); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user