mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
fix "clone note after"
This commit is contained in:
@@ -75,7 +75,7 @@ async function cloneNoteAfter(noteId, afterBranchId) {
|
||||
|
||||
const validationResult = await treeService.validateParentChild(afterNote.parentNoteId, noteId);
|
||||
|
||||
if (!validationResult.result) {
|
||||
if (!validationResult.success) {
|
||||
return validationResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user