now checks get created and uploaded!
This commit is contained in:
@@ -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]]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user