More fixes on initial data loading.

This commit is contained in:
Andrey Antukh 2016-04-01 16:55:34 +03:00
parent 38a64c356b
commit f32b384f5d
2 changed files with 5 additions and 2 deletions

View file

@ -59,8 +59,9 @@
(defn app-will-mount
[own]
(rs/emit! (uda/fetch-profile)
(dp/fetch-projects))
(when @auth-data
(rs/emit! (uda/fetch-profile)
(dp/fetch-projects)))
own)
(def app