Made admin clients easier to work with.

This commit is contained in:
2022-07-14 12:58:06 -07:00
parent 24da451c50
commit 99fe24ddae
12 changed files with 2849 additions and 260 deletions

View File

@@ -12,7 +12,7 @@
(defn- dispatch-route [matched-route]
(println "Matched route" matched-route)
(re-frame/dispatch [:auto-ap.events/set-active-page (:handler matched-route) (u/query-params)]))
(re-frame/dispatch [:auto-ap.events/set-active-route (:handler matched-route) (u/query-params) (:route-params matched-route)]))
(def history (pushy/pushy dispatch-route parse-url))