🐛 Fix release modal.

This commit is contained in:
Andrey Antukh 2022-02-02 15:02:47 +01:00
parent 743c2c3385
commit e9f45a0d0a

View file

@ -82,7 +82,6 @@
(and cf/onboarding-form-id (and cf/onboarding-form-id
(not (:onboarding-questions-answered props false)) (not (:onboarding-questions-answered props false))
(not (:onboarding-viewed props false))) (not (:onboarding-viewed props false)))
[:& app.main.ui.onboarding.questions/questions [:& app.main.ui.onboarding.questions/questions
{:profile profile {:profile profile
:form-id cf/onboarding-form-id}] :form-id cf/onboarding-form-id}]
@ -93,7 +92,7 @@
(and (:onboarding-viewed props) (and (:onboarding-viewed props)
(not= (:release-notes-viewed props) (:main @cf/version)) (not= (:release-notes-viewed props) (:main @cf/version))
(not= "0.0" (:main @cf/version))) (not= "0.0" (:main @cf/version)))
[:& app.main.ui.releases/release-notes-modal {}])) [:& app.main.ui.releases/release-notes-modal {:version (:main @cf/version)}]))
[:& dashboard {:route route :profile profile}]] [:& dashboard {:route route :profile profile}]]