added a page to see the accounts.

This commit is contained in:
Bryce Covert
2019-04-11 12:58:49 -07:00
parent 7bfe451ccd
commit a5d65656c0
6 changed files with 27 additions and 10 deletions

View File

@@ -15,6 +15,11 @@
(when (:user db)
(sort-by :name (vals (:clients db))))))
(re-frame/reg-sub
::accounts
(fn [db]
(:accounts db)))
(re-frame/reg-sub
::bank-accounts
:<- [::clients]