This commit is contained in:
Bryce Covert
2020-01-05 10:33:58 -08:00
7 changed files with 147 additions and 39 deletions

View File

@@ -107,7 +107,6 @@
::modal-status
(fn [db [_ id state]]
(println "changing modal status" id "to")
(println (:auto-ap.forms/forms db))
(-> db
(update-in [:modal-state id] #(merge % state))
#_(dissoc :auto-ap.forms/forms)
@@ -123,7 +122,6 @@
(re-frame/reg-event-db
::modal-completed
(fn [db [_ id state]]
(println (:auto-ap.forms/forms db))
(-> db
(update-in [:modal-state] #(dissoc % id))
(update :auto-ap.forms/forms dissoc id))))