added support for merging vendors.
This commit is contained in:
@@ -96,10 +96,9 @@
|
||||
::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)
|
||||
#_(dissoc :auto-ap.forms/forms)
|
||||
)))
|
||||
|
||||
(re-frame/reg-event-db
|
||||
@@ -112,7 +111,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))
|
||||
(dissoc :auto-ap.forms/forms))))
|
||||
|
||||
Reference in New Issue
Block a user