summaryrefslogtreecommitdiff
path: root/components/Sidebar/Note.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2022-07-13 13:23:57 +0200
committerGitHub <[email protected]>2022-07-13 13:23:57 +0200
commit46f8c23da389b6777169248ed3e33f55e3dcbece (patch)
tree34abd3ac10a1112baaea318cf5e38eabe33acb0a /components/Sidebar/Note.tsx
parent9474a254390b1e42488a1801fed5826b32a8030b (diff)
parent11111bb49889feb1b00e6814d9d81e3e23409d7c (diff)
Merge pull request #247 from danhuynhdev/main
Diffstat (limited to 'components/Sidebar/Note.tsx')
-rw-r--r--components/Sidebar/Note.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/Sidebar/Note.tsx b/components/Sidebar/Note.tsx
index 2b76994..638b43a 100644
--- a/components/Sidebar/Note.tsx
+++ b/components/Sidebar/Note.tsx
@@ -22,6 +22,7 @@ export interface NoteProps {
collapse: boolean
macros?: { [key: string]: string }
attachDir: string
+ useInheritance: boolean
}
export const Note = (props: NoteProps) => {
@@ -39,6 +40,7 @@ export const Note = (props: NoteProps) => {
collapse,
macros,
attachDir,
+ useInheritance,
} = props
const extraStyle = outline ? outlineNoteStyle : viewerNoteStyle
@@ -74,6 +76,7 @@ export const Note = (props: NoteProps) => {
linksByNodeId,
macros,
attachDir,
+ useInheritance,
}}
/>
<Backlinks
@@ -87,6 +90,7 @@ export const Note = (props: NoteProps) => {
openContextMenu,
outline,
attachDir,
+ useInheritance,
}}
macros={macros || {}}
/>