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:
Gabriel Horner
2023-10-02 15:52:38 -04:00
parent fceb6ddb72
commit 4b0100cb25
11 changed files with 147 additions and 138 deletions

View File

@@ -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!