mirror of
https://github.com/zadam/trilium.git
synced 2025-12-11 13:15:58 +08:00
feat(breadcrumb): show current item
This commit is contained in:
parent
bedca9f82c
commit
c5c4ecd6e6
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ function buildNotePaths(notePathArray: string[] | undefined) {
|
|||
|
||||
let prefix = "";
|
||||
const output: string[] = [];
|
||||
for (const notePath of notePathArray.slice(0, notePathArray.length - 1)) {
|
||||
for (const notePath of notePathArray) {
|
||||
output.push(`${prefix}${notePath}`);
|
||||
prefix += `${notePath}/`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue