summaryrefslogtreecommitdiff
path: root/pages
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 /pages
parentce08e92ef245961c25d1b0febb5983fcc5c2809e (diff)
feat: filter org-noter pages
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index efbdbad..a998c82 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -827,6 +827,10 @@ export const Graph = function (props: GraphProps) {
hiddenNodeIdsRef.current = { ...hiddenNodeIdsRef.current, [node.id]: node }
return false
}
+ if (filter.noter && node.properties?.NOTER_PAGE) {
+ hiddenNodeIdsRef.current = { ...hiddenNodeIdsRef.current, [node.id]: node }
+ return false
+ }
return true
})
.filter((node) => {