prefixes are now displayed also in all autocompletes and recent notes

This commit is contained in:
azivner
2017-11-29 22:03:03 -05:00
parent 69f77ac439
commit 8bd76721ad
7 changed files with 36 additions and 38 deletions

View File

@@ -17,13 +17,6 @@ const treeUtils = (function() {
return path[path.length - 1];
}
function getFullNameForPath(notePath) {
const path = notePath.split("/");
const titlePath = path.map(noteId => noteTree.getNoteTitle(noteId));
return titlePath.join(" > ");
}
function getNotePath(node) {
const path = [];
@@ -50,7 +43,6 @@ const treeUtils = (function() {
return {
getParentProtectedStatus,
getNodeByKey,
getFullNameForPath,
getNotePath,
getNoteIdFromNotePath,
setNodeTitleWithPrefix