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(react/collections): fix list body
Elian Doran98a4a8d8c602
diff --git a/apps/client/src/widgets/collections/legacy/ListView.tsx b/apps/client/src/widgets/collections/legacy/ListView.tsxindex 9893bdd51a..4d3f0f7952 100644--- a/apps/client/src/widgets/collections/legacy/ListView.tsx+++ b/apps/client/src/widgets/collections/legacy/ListView.tsx@@ -76,12 +76,12 @@ function ListNoteCard({ note, parentNote, expand, highlightedTokens }: { note: F<Icon className="note-icon" icon={note.getIcon()} /><NoteLink className="note-book-title" notePath={notePath} noPreview showNotePath={note.type === "search"} highlightedTokens={highlightedTokens} /><NoteAttributes note={note} />-- {isExpanded && <>- <NoteContent note={note} highlightedTokens={highlightedTokens} />- <NoteChildren note={note} parentNote={parentNote} highlightedTokens={highlightedTokens} />- </>}</h5>++ {isExpanded && <>+ <NoteContent note={note} highlightedTokens={highlightedTokens} />+ <NoteChildren note={note} parentNote={parentNote} highlightedTokens={highlightedTokens} />+ </>}</div>)}