From 4fd9bc344d4a94fc081a43d19067e70ef494e4ae Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Thu, 14 Oct 2021 14:39:35 +0200
Subject: feat: filter org-noter pages

---
 components/Tweaks/FilterPanel.tsx | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'components/Tweaks/FilterPanel.tsx')

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
@@ -122,6 +122,17 @@ const FilterPanel = (props: FilterPanelProps) => {
             isChecked={filter.dailies}
           ></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
-- 
cgit v1.2.3

