merged.
This commit is contained in:
@@ -102,8 +102,12 @@
|
||||
|
||||
(re-frame/reg-sub
|
||||
::modal-state
|
||||
(fn [db [_ id]]
|
||||
(get (:modal-state db) id)))
|
||||
(fn [db [_ id status-from]]
|
||||
(if status-from
|
||||
(assoc (get (:modal-state db) id)
|
||||
:error-message (get-in db [:auto-ap.forms/forms status-from :error])
|
||||
:saving? (= (get-in db [:auto-ap.forms/forms status-from :status]) :loading))
|
||||
(get (:modal-state db) id))))
|
||||
|
||||
(re-frame/reg-sub
|
||||
::token
|
||||
|
||||
Reference in New Issue
Block a user