mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 21:29:56 +01:00
chore(ribbon): remove label for the root entirely
This commit is contained in:
@@ -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 ?? ""} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user