mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix: Contents is not considered a "Built-in page" for Graph view
close #3265
This commit is contained in:
@@ -115,9 +115,10 @@
|
||||
(seq tagged-pages)
|
||||
(seq namespaces))
|
||||
linked (set (flatten links))
|
||||
build-in-pages (set (map string/lower-case default-db/built-in-pages-names))
|
||||
nodes (cond->> (map :block/name pages-after-journal-filter)
|
||||
(not builtin-pages?)
|
||||
(remove (fn [p] (default-db/built-in-pages-names (string/upper-case p))))
|
||||
(remove (fn [p] (contains? build-in-pages (string/lower-case p))))
|
||||
(not orphan-pages?)
|
||||
(filter #(contains? linked (string/lower-case %))))
|
||||
page-links (reduce (fn [m [k v]] (-> (update m k inc)
|
||||
|
||||
Reference in New Issue
Block a user