now checks get created and uploaded!

This commit is contained in:
Bryce Covert
2018-05-11 17:23:17 -07:00
parent 6c014a6b36
commit 88358a7f2a
10 changed files with 246 additions and 159 deletions

View File

@@ -17,6 +17,11 @@
(fn [uri]
(pushy/set-token! p/history uri)))
(re-frame/reg-fx
:new-window
(fn [url]
(.open js/window url)))
(re-frame/reg-fx
:set-local-storage
(fn [[name value]]

View File

@@ -61,9 +61,8 @@
(re-frame/reg-event-fx
::checks-created
(fn [{:keys [db]} [_ data]]
{:dispatch [:auto-ap.events/set-active-page :check]
:db (-> db
(assoc ::check/checks data))}))
{:new-window (:url data)
}))
(re-frame/reg-event-fx
::invalidated