mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
chore: cleanup page-property file based ns
All of frontend.util.page-property was file based except for one line. Moved that ns to a file-based ns and moved the line out to the more appropriate property-handler
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
[frontend.ui :as ui]
|
||||
[frontend.context.i18n :refer [t]]
|
||||
[frontend.extensions.lightbox :as lightbox]
|
||||
[frontend.util.page-property :as page-property]
|
||||
[frontend.state :as state]
|
||||
[frontend.util :as util]
|
||||
[frontend.extensions.pdf.utils :as pdf-utils]
|
||||
@@ -179,7 +178,7 @@
|
||||
(db-model/get-page page-name))
|
||||
|
||||
;; try to update file path
|
||||
(page-property/add-property! page-name :file-path url))
|
||||
(property-handler/add-page-property! page-name :file-path url))
|
||||
page))
|
||||
|
||||
(defn ensure-ref-block!
|
||||
|
||||
Reference in New Issue
Block a user