renamed subtree operations in context menu from "branch" to "subtree"

This commit is contained in:
azivner
2018-08-31 18:22:53 +02:00
parent 65d99f3f06
commit a98d80db31
7 changed files with 37 additions and 37 deletions

View File

@@ -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
};