Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(breadcrumb): show current item
Elian Doranc5c4ecd6e63b
diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsxindex 18ec9e8456..1b3ae48881 100644--- a/apps/client/src/widgets/Breadcrumb.tsx+++ b/apps/client/src/widgets/Breadcrumb.tsx@@ -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}/`;}