Skip to content

Commit

Permalink
Export edn files, not txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jan 19, 2024
1 parent 012e54a commit 32826b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day8/re_frame_10x/panels/app_db/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
:title "Export an EDN file for download"
:label "Export"
:on-click #(rf/dispatch [::app-db.events/save-to-file
(cond-> "re-frame-db" path (str "__" path))
(cond-> "re-frame-db" path (str "__" path) :do (str ".edn"))
(serialize-special-types data)])}]
[buttons/icon
{:icon [material/refresh]
Expand Down

0 comments on commit 32826b2

Please sign in to comment.