mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: don't display hierarchy for file pages
This commit is contained in:
@@ -274,10 +274,7 @@
|
||||
(concat title body))
|
||||
(let [refs (remove string/blank? @refs)
|
||||
children-pages (->> (mapcat (fn [p]
|
||||
(when (and (string/includes? p "/")
|
||||
(not (string/starts-with? p "../"))
|
||||
(not (string/starts-with? p "./"))
|
||||
(not (string/starts-with? p "http")))
|
||||
(when (text/namespace-page? p)
|
||||
(util/split-namespace-pages p)))
|
||||
refs)
|
||||
(remove string/blank?))
|
||||
|
||||
Reference in New Issue
Block a user