mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	code should not rely on fixed branch IDs since they can change after move
This commit is contained in:
		| @@ -166,7 +166,6 @@ function createNewNote(params) { | ||||
|             note.setContent(params.content); | ||||
|  | ||||
|             branch = new Branch({ | ||||
|                 branchId: params.branchId, | ||||
|                 noteId: note.noteId, | ||||
|                 parentNoteId: params.parentNoteId, | ||||
|                 notePosition: params.notePosition !== undefined ? params.notePosition : getNewNotePosition(params.parentNoteId), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user