mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	allow cloning into notes, not just branches, fixes #2484
This commit is contained in:
		| @@ -61,7 +61,7 @@ async function start() { | ||||
|             const parentNoteId = getRandomNoteId(); | ||||
|             const prefix = Math.random() > 0.8 ? "prefix" : null; | ||||
|  | ||||
|             const result = await cloningService.cloneNoteToParent(noteIdToClone, parentNoteId, prefix); | ||||
|             const result = await cloningService.cloneNoteToBranch(noteIdToClone, parentNoteId, prefix); | ||||
|  | ||||
|             console.log(`Cloning ${i}:`, result.success ? "succeeded" : "FAILED"); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user