diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/Tweaks/FilterPanel.tsx | 11 | ||||
-rw-r--r-- | components/config.ts | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/components/Tweaks/FilterPanel.tsx b/components/Tweaks/FilterPanel.tsx index 39233f9..ebe48a2 100644 --- a/components/Tweaks/FilterPanel.tsx +++ b/components/Tweaks/FilterPanel.tsx @@ -123,6 +123,17 @@ const FilterPanel = (props: FilterPanelProps) => { ></Switch> </Flex> <Flex justifyContent="space-between"> + <Text>Org-noter pages</Text> + <Switch + onChange={() => { + setFilter((curr: typeof initialFilter) => { + return { ...curr, noter: !curr.noter } + }) + }} + isChecked={filter.noter} + ></Switch> + </Flex> + <Flex justifyContent="space-between"> <Text>Citations without note files</Text> <Switch onChange={() => { diff --git a/components/config.ts b/components/config.ts index ec1c691..b3f5905 100644 --- a/components/config.ts +++ b/components/config.ts @@ -43,6 +43,7 @@ export const initialFilter = { nodes: [], links: [], date: [], + noter: true, } export const initialVisuals = { |