mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
renamed subtree operations in context menu from "branch" to "subtree"
This commit is contained in:
@@ -45,7 +45,7 @@ async function sortNotes(req) {
|
||||
await treeService.sortNotesAlphabetically(noteId);
|
||||
}
|
||||
|
||||
async function protectBranch(req) {
|
||||
async function protectSubtree(req) {
|
||||
const noteId = req.params.noteId;
|
||||
const note = await repository.getNote(noteId);
|
||||
const protect = !!parseInt(req.params.isProtected);
|
||||
@@ -70,6 +70,6 @@ module.exports = {
|
||||
updateNote,
|
||||
createNote,
|
||||
sortNotes,
|
||||
protectBranch,
|
||||
protectSubtree,
|
||||
setNoteTypeMime
|
||||
};
|
||||
Reference in New Issue
Block a user