mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
chore(react/collections): fix list body
This commit is contained in:
@@ -76,12 +76,12 @@ function ListNoteCard({ note, parentNote, expand, highlightedTokens }: { note: F
|
|||||||
<Icon className="note-icon" icon={note.getIcon()} />
|
<Icon className="note-icon" icon={note.getIcon()} />
|
||||||
<NoteLink className="note-book-title" notePath={notePath} noPreview showNotePath={note.type === "search"} highlightedTokens={highlightedTokens} />
|
<NoteLink className="note-book-title" notePath={notePath} noPreview showNotePath={note.type === "search"} highlightedTokens={highlightedTokens} />
|
||||||
<NoteAttributes note={note} />
|
<NoteAttributes note={note} />
|
||||||
|
|
||||||
{isExpanded && <>
|
|
||||||
<NoteContent note={note} highlightedTokens={highlightedTokens} />
|
|
||||||
<NoteChildren note={note} parentNote={parentNote} highlightedTokens={highlightedTokens} />
|
|
||||||
</>}
|
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
|
{isExpanded && <>
|
||||||
|
<NoteContent note={note} highlightedTokens={highlightedTokens} />
|
||||||
|
<NoteChildren note={note} parentNote={parentNote} highlightedTokens={highlightedTokens} />
|
||||||
|
</>}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user