consistently use root/ prefix for note paths

This commit is contained in:
azivner
2018-10-06 21:32:07 +02:00
parent 257cced182
commit 62de7f28eb
4 changed files with 5 additions and 4 deletions

View File

@@ -192,6 +192,7 @@ function getNoteTitleForPath(path) {
function getSomePath(noteId, path) {
if (noteId === 'root') {
path.push(noteId);
path.reverse();
return path;