mirror of
https://github.com/zadam/trilium.git
synced 2025-12-19 13:54:23 +01:00
fix(right_pane): table of contents no longer visible
Some checks are pending
Checks / main (push) Waiting to run
Some checks are pending
Checks / main (push) Waiting to run
This commit is contained in:
parent
a986c84ce7
commit
334c31e79d
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user