mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
target note is expanded after cloning into it
CTRL-V pastes into instead of after showing messages about clipboard operations
This commit is contained in:
@@ -127,6 +127,8 @@ router.put('/:childNoteId/clone-to/:parentNoteId', auth.checkApiAuth, async (req
|
||||
await sql.replace("notes_tree", noteTree);
|
||||
|
||||
await sync_table.addNoteTreeSync(noteTree.note_tree_id, sourceId);
|
||||
|
||||
await sql.execute("UPDATE notes_tree SET is_expanded = 1 WHERE note_id = ?", [parentNoteId]);
|
||||
});
|
||||
|
||||
res.send({
|
||||
|
||||
Reference in New Issue
Block a user