fix: re-enable exporting publishing from UI for db graph

publishing app doesn't fully work yet but hopefully will soon
This commit is contained in:
Gabriel Horner
2024-10-28 10:09:43 -04:00
parent aff2ec6fab
commit ab6f5e5096

View File

@@ -98,11 +98,10 @@
"Export debug JSON"]
[:p.text-sm.opacity-70 "Any sensitive data will be removed in the exported json file, you can send it to us for debugging."]])
(when-not db-based?
(when (util/electron?)
[:div
[:a.font-medium {:on-click #(export/download-repo-as-html! current-repo)}
(t :export-public-pages)]]))
(when (util/electron?)
[:div
[:a.font-medium {:on-click #(export/download-repo-as-html! current-repo)}
(t :export-public-pages)]])
(when-not (or (mobile-util/native-platform?) db-based?)
[:div
[:a.font-medium {:on-click #(export-text/export-repo-as-markdown! current-repo)}