other changes to make app more predictable.
This commit is contained in:
@@ -36,8 +36,7 @@
|
||||
[which val] (if (= 3 (count params))
|
||||
[(into [a] b) c]
|
||||
[[a] b])]
|
||||
{:dispatch [:auto-ap.views.pages.payments/params-change]
|
||||
:db (assoc-in db (into [::filters] which) val)})))
|
||||
{:db (assoc-in db (into [::filters] which) val)})))
|
||||
|
||||
(re-frame/reg-event-fx
|
||||
::check-number-like-settled
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
::params-changed
|
||||
[(re-frame/path [::table-params])]
|
||||
(fn [{table-params :db} [_ params :as z]]
|
||||
{:db (merge table-params params)
|
||||
:dispatch [:auto-ap.views.pages.payments/params-change]}))
|
||||
{:db (merge table-params params)}))
|
||||
|
||||
(defn row [{check :check
|
||||
selected-client :selected-client
|
||||
|
||||
Reference in New Issue
Block a user