good progress on making expense accounts editable.

This commit is contained in:
Bryce Covert
2019-04-17 09:00:34 -07:00
parent b79fca113b
commit b3e407d211
4 changed files with 135 additions and 96 deletions

View File

@@ -50,6 +50,7 @@
(re-frame/reg-event-db
::change
(fn [db [_ form & path-pairs]]
(println "CHANGING" form path-pairs)
(reduce
(fn [db [path value]]
(assoc-in db (into [::forms form :data] path) value))