diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-12-04 13:44:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-04 13:44:47 +0100 |
commit | 0062fc08917e9ee70148105fe5134e9f4dcf9aba (patch) | |
tree | 43cae6d205afd8fdf4f9e70e93eeecf50b2bc109 /components/Sidebar/Note.tsx | |
parent | 4edbd2abae11def87284d6f7a4a2e1fd4e122cd6 (diff) |
fix: add org-attach-id-dir support (#153)
Diffstat (limited to 'components/Sidebar/Note.tsx')
-rw-r--r-- | components/Sidebar/Note.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/Sidebar/Note.tsx b/components/Sidebar/Note.tsx index 1f864f3..2b76994 100644 --- a/components/Sidebar/Note.tsx +++ b/components/Sidebar/Note.tsx @@ -21,6 +21,7 @@ export interface NoteProps { outline: boolean collapse: boolean macros?: { [key: string]: string } + attachDir: string } export const Note = (props: NoteProps) => { @@ -37,6 +38,7 @@ export const Note = (props: NoteProps) => { outline, collapse, macros, + attachDir, } = props const extraStyle = outline ? outlineNoteStyle : viewerNoteStyle @@ -71,6 +73,7 @@ export const Note = (props: NoteProps) => { nodeById, linksByNodeId, macros, + attachDir, }} /> <Backlinks @@ -83,7 +86,9 @@ export const Note = (props: NoteProps) => { setSidebarHighlightedNode, openContextMenu, outline, + attachDir, }} + macros={macros || {}} /> </Flex> )} |