From 11111bb49889feb1b00e6814d9d81e3e23409d7c Mon Sep 17 00:00:00 2001 From: Huynh Tan Date: Thu, 30 Jun 2022 15:52:03 +0700 Subject: Read useInheritance from emacs config --- pages/index.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages') diff --git a/pages/index.tsx b/pages/index.tsx index 9b21f7b..fdbabc3 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -79,6 +79,7 @@ export interface EmacsVariables { dailyDir?: string katexMacros?: { [key: string]: string } attachDir?: string + useInheritance?: boolean, subDirs: string[] } export type Tags = string[] @@ -684,6 +685,7 @@ export function GraphPage() { }} macros={emacsVariables.katexMacros} attachDir={emacsVariables.attachDir || ''} + useInheritance={emacsVariables.useInheritance || false} nodeById={nodeByIdRef.current!} linksByNodeId={linksByNodeIdRef.current!} nodeByCite={nodeByCiteRef.current!} -- cgit v1.2.3