mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: several issues related to graph
fixed position: sticky not working on safari
This commit is contained in:
@@ -265,7 +265,10 @@
|
||||
(concat title body))
|
||||
(let [ref-pages (remove string/blank? @ref-pages)
|
||||
children-pages (->> (mapcat (fn [p]
|
||||
(if (string/includes? p "/")
|
||||
(when (and (string/includes? p "/")
|
||||
(not (string/starts-with? p "../"))
|
||||
(not (string/starts-with? p "./"))
|
||||
(not (string/starts-with? p "http")))
|
||||
;; Don't create the last page for now
|
||||
(butlast (string/split p #"/"))))
|
||||
ref-pages)
|
||||
|
||||
Reference in New Issue
Block a user