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
chore(ribbon): address requested changes
Elian Doran6fac947d9c76
diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsxindex 0c08cf160b..24d2ba9d4f 100644--- a/apps/client/src/widgets/Breadcrumb.tsx+++ b/apps/client/src/widgets/Breadcrumb.tsx@@ -99,8 +99,8 @@ function BreadcrumbSeparator({ notePath, noteContext, activeNotePath }: { notePafunction BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNotePath }: { notePath: string, activeNotePath: string, noteContext: NoteContext | undefined }) {const notePathComponents = notePath.split("/");- const notePathPrefix = notePathComponents.join("/"); // last item was removed already.- const parentNoteId = notePathComponents.length > 1 ? notePathComponents.pop() : "root";+ const notePathPrefix = notePathComponents.join("/");+ const parentNoteId = notePathComponents.at(-1);const childNotes = useChildNotes(parentNoteId);return (