so many small tweaks due to the fact that the grid was slow.
This commit is contained in:
@@ -161,10 +161,10 @@
|
||||
(fn [{:keys [query on-success on-error token variables query-obj owns-state]}]
|
||||
(go
|
||||
(when (:multi owns-state)
|
||||
(re-frame/dispatch [::status/loading-multi (:multi owns-state) (:which owns-state)]))
|
||||
(re-frame/dispatch-sync [::status/loading-multi (:multi owns-state) (:which owns-state)]))
|
||||
|
||||
(when (:single owns-state)
|
||||
(re-frame/dispatch [::status/loading (:single owns-state)]))
|
||||
(re-frame/dispatch-sync [::status/loading (:single owns-state)]))
|
||||
(let [headers (if token
|
||||
{"Authorization" (str "Token " token)}
|
||||
{})
|
||||
|
||||
Reference in New Issue
Block a user