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/Backlinks.tsx | |
parent | 4edbd2abae11def87284d6f7a4a2e1fd4e122cd6 (diff) |
fix: add org-attach-id-dir support (#153)
Diffstat (limited to 'components/Sidebar/Backlinks.tsx')
-rw-r--r-- | components/Sidebar/Backlinks.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/Sidebar/Backlinks.tsx b/components/Sidebar/Backlinks.tsx index 892af8c..9bfb1fe 100644 --- a/components/Sidebar/Backlinks.tsx +++ b/components/Sidebar/Backlinks.tsx @@ -16,6 +16,8 @@ export interface BacklinksProps { setSidebarHighlightedNode: OrgRoamNode openContextMenu: any outline: boolean + attachDir: string + macros: { [key: string]: string } } import { PreviewLink } from './Link' @@ -32,6 +34,8 @@ export const Backlinks = (props: BacklinksProps) => { nodeByCite, openContextMenu, outline, + macros, + attachDir, } = props const links = linksByNodeId[previewNode?.id] ?? [] @@ -69,6 +73,7 @@ export const Backlinks = (props: BacklinksProps) => { openContextMenu={openContextMenu} outline={outline} noUnderline + {...{ attachDir, macros }} > {nodeById[link as string]?.title} </PreviewLink> |