mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
better activation behavior when move notes
This commit is contained in:
@@ -32,6 +32,7 @@ async function moveBranchToParent(req) {
|
||||
const newNotePos = maxNotePos === null ? 0 : maxNotePos + 10;
|
||||
|
||||
const newBranch = branchToMove.createClone(parentNoteId, newNotePos);
|
||||
newBranch.isExpanded = true;
|
||||
await newBranch.save();
|
||||
|
||||
branchToMove.isDeleted = true;
|
||||
|
||||
Reference in New Issue
Block a user