From 0062fc08917e9ee70148105fe5134e9f4dcf9aba Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 4 Dec 2021 13:44:47 +0100 Subject: fix: add org-attach-id-dir support (#153) --- components/Sidebar/Note.tsx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'components/Sidebar/Note.tsx') 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, }} /> { setSidebarHighlightedNode, openContextMenu, outline, + attachDir, }} + macros={macros || {}} /> )} -- cgit v1.2.3