mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix creating note directly as protected
This commit is contained in:
		| @@ -95,7 +95,8 @@ async function createNewNote(parentNoteId, noteData) { | ||||
|  | ||||
|     note.noteContent = await new NoteContent({ | ||||
|         noteId: note.noteId, | ||||
|         content: noteData.content | ||||
|         content: noteData.content, | ||||
|         isProtected: noteData.isProtected | ||||
|     }).save(); | ||||
|  | ||||
|     const branch = await new Branch({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user