fix import

This commit is contained in:
zadam
2021-07-20 13:29:11 +02:00
parent 98ee3b029a
commit c82308489b
6 changed files with 240 additions and 228 deletions

View File

@@ -132,7 +132,7 @@ function getSomePath(note, path = []) {
}
function getSomePathInner(note, path, respectHoistng) {
if (note.noteId === 'root') {
if (note.isRoot()) {
path.push(note.noteId);
path.reverse();
@@ -174,7 +174,7 @@ function getNotePath(noteId) {
let branchId;
if (note.noteId === 'root') {
if (note.isRoot()) {
branchId = 'root';
}
else {