mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 07:09:54 +01:00
feat(breadcrumb): show current item
This commit is contained in:
@@ -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}/`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user