summaryrefslogtreecommitdiff
path: root/util/uniorg.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 /util/uniorg.tsx
parent9474a254390b1e42488a1801fed5826b32a8030b (diff)
parent11111bb49889feb1b00e6814d9d81e3e23409d7c (diff)
Merge pull request #247 from danhuynhdev/main
Diffstat (limited to 'util/uniorg.tsx')
-rw-r--r--util/uniorg.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/uniorg.tsx b/util/uniorg.tsx
index 6580b9c..4172d7a 100644
--- a/util/uniorg.tsx
+++ b/util/uniorg.tsx
@@ -15,6 +15,7 @@ export interface UniOrgProps {
linksByNodeId: LinksByNodeId
macros?: { [key: string]: string }
attachDir: string
+ useInheritance: boolean
}
export const UniOrg = (props: UniOrgProps) => {
@@ -30,6 +31,7 @@ export const UniOrg = (props: UniOrgProps) => {
linksByNodeId,
macros,
attachDir,
+ useInheritance,
} = props
const [previewText, setPreviewText] = useState('')
@@ -72,6 +74,7 @@ export const UniOrg = (props: UniOrgProps) => {
collapse,
linksByNodeId,
attachDir,
+ useInheritance,
}}
macros={macros || {}}
/>