fix(breadcrumb): tree displayed in root navigation

This commit is contained in:
Elian Doran 2025-12-14 11:12:14 +02:00
parent 58e2111a8f
commit e1611d83a3
No known key found for this signature in database

View File

@ -139,6 +139,8 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNoteP
return ( return (
<ul className="breadcrumb-child-list"> <ul className="breadcrumb-child-list">
{childNotes.map((note) => { {childNotes.map((note) => {
if (note.noteId === "_hidden") return;
const childNotePath = `${notePath}/${note.noteId}`; const childNotePath = `${notePath}/${note.noteId}`;
return <li key={note.noteId}> return <li key={note.noteId}>
<FormListItem <FormListItem