vendor querying step 1.
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
(fn [db [_ x]]
|
||||
(get (-> db ::forms) x)))
|
||||
|
||||
(re-frame/reg-sub
|
||||
::field
|
||||
(fn [db [_ x f]]
|
||||
(-> (get (-> db ::forms) x)
|
||||
:data
|
||||
(get-in f))))
|
||||
|
||||
|
||||
(re-frame/reg-sub
|
||||
::is-loading?
|
||||
|
||||
Reference in New Issue
Block a user