mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: namespace pages are not created when using search to create
This commit is contained in:
@@ -278,8 +278,7 @@
|
||||
(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 #"/"))))
|
||||
(string/split p #"/")))
|
||||
refs)
|
||||
(remove string/blank?))
|
||||
refs (->> (distinct (concat refs children-pages))
|
||||
|
||||
Reference in New Issue
Block a user