mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
feat(breadcrumb): show current item
This commit is contained in:
parent
bedca9f82c
commit
c5c4ecd6e6
@ -73,7 +73,7 @@ function buildNotePaths(notePathArray: string[] | undefined) {
|
|||||||
|
|
||||||
let prefix = "";
|
let prefix = "";
|
||||||
const output: string[] = [];
|
const output: string[] = [];
|
||||||
for (const notePath of notePathArray.slice(0, notePathArray.length - 1)) {
|
for (const notePath of notePathArray) {
|
||||||
output.push(`${prefix}${notePath}`);
|
output.push(`${prefix}${notePath}`);
|
||||||
prefix += `${notePath}/`;
|
prefix += `${notePath}/`;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user