summaryrefslogtreecommitdiff
path: root/pages/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 /pages/index.tsx
parent4edbd2abae11def87284d6f7a4a2e1fd4e122cd6 (diff)
fix: add org-attach-id-dir support (#153)
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index c74f0af..cf54e92 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -77,6 +77,7 @@ export interface EmacsVariables {
roamDir?: string
dailyDir?: string
katexMacros?: { [key: string]: string }
+ attachDir?: string
}
export type Tags = string[]
export type Scope = {
@@ -672,6 +673,7 @@ export function GraphPage() {
setFilter,
}}
macros={variablesRef.current.katexMacros}
+ attachDir={variablesRef.current.attachDir || ''}
nodeById={nodeByIdRef.current!}
linksByNodeId={linksByNodeIdRef.current!}
nodeByCite={nodeByCiteRef.current!}