feat(breadcrumb): show current item

This commit is contained in:
Elian Doran 2025-12-08 17:04:08 +02:00
parent bedca9f82c
commit c5c4ecd6e6
No known key found for this signature in database

View file

@ -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}/`;
}