summaryrefslogtreecommitdiff
path: root/components/Sidebar/index.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-12-04 13:44:47 +0100
committerGitHub <[email protected]>2021-12-04 13:44:47 +0100
commit0062fc08917e9ee70148105fe5134e9f4dcf9aba (patch)
tree43cae6d205afd8fdf4f9e70e93eeecf50b2bc109 /components/Sidebar/index.tsx
parent4edbd2abae11def87284d6f7a4a2e1fd4e122cd6 (diff)
fix: add org-attach-id-dir support (#153)
Diffstat (limited to 'components/Sidebar/index.tsx')
-rw-r--r--components/Sidebar/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index c23d938..66728fd 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -50,6 +50,7 @@ export interface SidebarProps {
tagColors: TagColors
setTagColors: any
macros?: { [key: string]: string }
+ attachDir: string
}
const Sidebar = (props: SidebarProps) => {
@@ -77,6 +78,7 @@ const Sidebar = (props: SidebarProps) => {
tagColors,
setTagColors,
macros,
+ attachDir,
} = props
const { highlightColor } = useContext(ThemeContext)
@@ -228,6 +230,7 @@ const Sidebar = (props: SidebarProps) => {
setOutline,
collapse,
macros,
+ attachDir,
}}
/>
</VStack>