From c5c4ecd6e63bc4e73dd7f7111d9fa274d76d565b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 8 Dec 2025 17:04:08 +0200 Subject: [PATCH] feat(breadcrumb): show current item --- apps/client/src/widgets/Breadcrumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsx index 18ec9e845..1b3ae4888 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}/`; }