summaryrefslogtreecommitdiff
path: root/components/Tweaks
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-14 14:39:35 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-14 14:39:35 +0200
commit4fd9bc344d4a94fc081a43d19067e70ef494e4ae (patch)
tree45b50c31fbf9903b62154b70e88c3aea43ca0dee /components/Tweaks
parentce08e92ef245961c25d1b0febb5983fcc5c2809e (diff)
feat: filter org-noter pages
Diffstat (limited to 'components/Tweaks')
-rw-r--r--components/Tweaks/FilterPanel.tsx11
1 files changed, 11 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={() => {