minor fixes
This commit is contained in:
@@ -62,13 +62,13 @@
|
||||
(re-frame/reg-event-fx
|
||||
::received
|
||||
(fn [{:keys [db]} [_ id data]]
|
||||
(println @(re-frame/subscribe [::params id]))
|
||||
{:db (assoc-in db [::data id] data)
|
||||
:set-uri-params (dissoc @(re-frame/subscribe [::params id]) :client-id)}))
|
||||
|
||||
(re-frame/reg-event-db
|
||||
::dispose
|
||||
(fn [db [_ id]]
|
||||
(println "TABLE" (::table-params db) (::table-params (update db ::table-params dissoc id)))
|
||||
(-> db
|
||||
(update ::data dissoc id)
|
||||
(update ::checked dissoc id)
|
||||
@@ -135,7 +135,7 @@
|
||||
(fn [{:keys [db]} [_ id]]
|
||||
{:db (-> db
|
||||
(assoc-in [::settled-filters id] @(re-frame/subscribe [::filters id]))
|
||||
(update-in [::table-params id ] dissoc :start))}))
|
||||
(assoc-in [::table-params id :start] 0))}))
|
||||
|
||||
(re-frame/reg-sub
|
||||
::settled-filters
|
||||
|
||||
Reference in New Issue
Block a user