tracking companies by id

This commit is contained in:
Bryce Covert
2018-04-06 07:08:17 -07:00
parent 0baf1e0e65
commit 68964e2e2c
7 changed files with 31 additions and 18 deletions

View File

@@ -6,7 +6,7 @@
(re-frame/reg-sub
::company
(fn [db]
(:company db)))
(get (:companies db) (:company db))))
(re-frame/reg-sub
::companies