chore: block/pre-block isn't used in db graphs

Move related fn into a file only ns and fix lints in that ns
This commit is contained in:
Gabriel Horner
2023-09-29 22:20:37 -04:00
parent 42eba3e114
commit fcd4ee1d33
5 changed files with 39 additions and 39 deletions

View File

@@ -17,6 +17,7 @@
[frontend.handler.reorder :as reorder-handler]
[frontend.handler.config :as config-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.file-based.editor :as file-editor-handler]
[frontend.handler.plugin :as plugin-handler]
[frontend.handler.notification :as notification]
[frontend.handler.file-based.recent :as recent-handler]
@@ -135,7 +136,7 @@
(and (seq properties)
(not whiteboard?)
(not db-based?))
[page (editor-handler/properties-block repo properties format page-entity)]
[page (file-editor-handler/properties-block repo properties format page-entity)]
:else
[page]))))