handle more properties including title, icon, public and filters

This commit is contained in:
Tienson Qin
2023-08-01 20:50:13 +08:00
parent 84f09e01dc
commit 73ce46483b
6 changed files with 15 additions and 11 deletions

View File

@@ -5,7 +5,8 @@
[frontend.db :as db]
[logseq.db.default :as default-db]
[frontend.state :as state]
[frontend.util :as util]))
[frontend.util :as util]
[frontend.handler.property.util :as pu]))
(defn- build-links
[links]
@@ -99,7 +100,7 @@
pages-after-exclude-filter (cond->> pages-after-journal-filter
(not excluded-pages?)
(remove (fn [p] (= true (:exclude-from-graph-view (:block/properties p))))))
(remove (fn [p] (true? (pu/get-property p :exclude-from-graph-view)))))
links (concat (seq relation)
(seq tagged-pages)