Browse Source

raname ":exclude-in-graph" to ":exclude-from-graph-view"

- raname ":exclude-in-graph" to ":exclude-from-graph-view"
- add ":exclude-from-graph-view" in "editable-built-in-properties"
8N9KT 3 years ago
parent
commit
f79888b4d8

+ 1 - 1
deps/graph-parser/src/logseq/graph_parser/property.cljs

@@ -33,7 +33,7 @@
 (defn editable-built-in-properties
   "Properties used by logseq that user can edit"
   []
-  (into #{:title :icon :template :template-including-parent :public :filters}
+  (into #{:title :icon :template :template-including-parent :public :filters :exclude-from-graph-view}
         editable-linkable-built-in-properties))
 
 (defn hidden-built-in-properties

+ 1 - 1
src/main/frontend/handler/graph.cljs

@@ -98,7 +98,7 @@
 
            pages-after-exclude-filter (cond->> pages-after-journal-filter
                                         (not excluded-pages?)
-                                        (remove (fn [p] (=  true (:exclude-in-graph (:block/properties p))))))
+                                        (remove (fn [p] (=  true (:exclude-from-graph-view (:block/properties p))))))
 
             links (concat (seq relation)
                           (seq tagged-pages)