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): remove label for the root entirely
Elian Doran5973e5ca26fe
diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsxindex 29d5cc7f0e..0c08cf160b 100644--- a/apps/client/src/widgets/Breadcrumb.tsx+++ b/apps/client/src/widgets/Breadcrumb.tsx@@ -26,7 +26,7 @@ export default function Breadcrumb() {<>{notePath.slice(0, INITIAL_ITEMS).map((item, index) => (<Fragment key={item}>- {index === 0 && notePath.length > 1+ {index === 0? <BreadcrumbRoot noteContext={noteContext} />: <BreadcrumbItem notePath={item} activeNotePath={noteContext?.notePath ?? ""} />}@@ -44,7 +44,7 @@ export default function Breadcrumb() {) : (notePath.map((item, index) => (<Fragment key={item}>- {index === 0 && notePath.length > 1+ {index === 0? <BreadcrumbRoot noteContext={noteContext} />: <BreadcrumbItem notePath={item} activeNotePath={noteContext?.notePath ?? ""} />}