mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
bookmarks use cloning
This commit is contained in:
@@ -22,8 +22,15 @@ function cloneNoteAfter(req) {
|
||||
return cloningService.cloneNoteAfter(noteId, afterBranchId);
|
||||
}
|
||||
|
||||
function toggleNoteInParent(req) {
|
||||
const {noteId, parentNoteId, present} = req.params;
|
||||
|
||||
return cloningService.toggleNoteInParent(present === 'true', noteId, parentNoteId);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
cloneNoteToBranch,
|
||||
cloneNoteToNote,
|
||||
cloneNoteAfter
|
||||
cloneNoteAfter,
|
||||
toggleNoteInParent
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user