adds export button.

This commit is contained in:
2022-03-21 08:14:42 -07:00
parent dcc7b8f304
commit 666fd40bce
2 changed files with 236 additions and 319 deletions

View File

@@ -898,7 +898,9 @@
:type "checkbox"}]]]]
[:div.level-right
[:div.buttons
[:button.button.is-secondary {:on-click (dispatch-event [::export-pdf])} "Export"]
(when @(re-frame/subscribe [::subs/is-admin?])
[:button.button.is-secondary {:on-click (dispatch-event [::export-pdf])} "Export"])
[:button.button.is-primary "Run"]]
]]