mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
chore(ribbon): remove label for the root entirely
This commit is contained in:
parent
608ab53933
commit
5973e5ca26
@ -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 ?? ""} />
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user