Browse Source

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

publishing app doesn't fully work yet but hopefully will soon
Gabriel Horner 1 year ago
parent
commit
ab6f5e5096
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/main/frontend/components/export.cljs

+ 4 - 5
src/main/frontend/components/export.cljs

@@ -98,11 +98,10 @@
             "Export debug JSON"]
             "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."]])
            [: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?)
         (when-not (or (mobile-util/native-platform?) db-based?)
           [:div
           [:div
            [:a.font-medium {:on-click #(export-text/export-repo-as-markdown! current-repo)}
            [:a.font-medium {:on-click #(export-text/export-repo-as-markdown! current-repo)}