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
fix(right_pane): table of contents no longer visible
Elian Doran334c31e79da2
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsxindex 83a8d957f1..e10fae7492 100644--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx@@ -22,7 +22,7 @@ export default function RightPanelContainer() {const { note } = useActiveNoteContext();const noteType = useNoteProperty(note, "type");const items = [- noteType === "text" || noteType === "doc" && <TableOfContents />,+ (noteType === "text" || noteType === "doc") && <TableOfContents />,noteType === "text" && <HighlightsList />].filter(Boolean);