other changes to make app more predictable.

This commit is contained in:
Bryce Covert
2020-05-02 07:12:26 -07:00
parent e162f06c75
commit 532e35bb50
14 changed files with 85 additions and 85 deletions

View File

@@ -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

View File

@@ -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