mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 22:34:23 +01:00
chore(client): address requested changes
This commit is contained in:
parent
f21ba207fe
commit
1feeb350ce
@ -241,7 +241,7 @@ function buildNotePaths(noteContext: NoteContext) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// When hoisted, display only the path starting with the hoisted note.
|
// When hoisted, display only the path starting with the hoisted note.
|
||||||
if (noteContext.hoistedNoteId !== "root") {
|
if (noteContext.hoistedNoteId !== "root" && hoistedNotePos > -1) {
|
||||||
output = output.slice(hoistedNotePos);
|
output = output.slice(hoistedNotePos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user