This commit is contained in:
Bryce Covert
2020-04-17 21:53:09 -07:00
10 changed files with 159 additions and 59 deletions

View File

@@ -32,7 +32,6 @@
(re-frame/reg-event-fx
::toggle-expense-accounts
(fn [{:keys [db] } [_ invoice-id]]
(println "toggling")
{:db
(update-in db [::visible-expense-accounts] (fn [i] (if (= i invoice-id) nil invoice-id) ))}))