mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
fix import
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user