mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
refactor: mv common worker/frontend ns to frontend/common
Move common core.async, date and search utils to frontend/common. Part of LOG-3171
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
[logseq.graph-parser.text :as text]
|
||||
[logseq.common.util :as common-util]
|
||||
[logseq.common.config :as common-config]
|
||||
[frontend.worker.date :as date]
|
||||
[frontend.common.date :as common-date]
|
||||
[logseq.db.frontend.order :as db-order]))
|
||||
|
||||
(defn- file-based-properties-block
|
||||
@@ -74,7 +74,7 @@
|
||||
:as options}]
|
||||
(let [date-formatter (common-config/get-date-formatter config)
|
||||
split-namespace? (not (or (string/starts-with? title "hls__")
|
||||
(date/valid-journal-title? date-formatter title)))
|
||||
(common-date/valid-journal-title? date-formatter title)))
|
||||
[title page-name] (get-title-and-pagename title)]
|
||||
(when-not (ldb/get-page @conn page-name)
|
||||
(let [pages (if split-namespace?
|
||||
|
||||
Reference in New Issue
Block a user