🎉 Move survey to local resources

This commit is contained in:
Alejandro Alonso 2023-05-16 10:46:50 +02:00 committed by Andrey Antukh
parent b6d60773e3
commit a1c09057c1
10 changed files with 704 additions and 385 deletions

View file

@ -90,12 +90,9 @@
#_[:& app.main.ui.onboarding/onboarding-team-modal]]
(when-let [props (some-> profile (get :props {}))]
(cond
(and cf/onboarding-form-id
(not (:onboarding-questions-answered props false))
(and (not (:onboarding-questions-answered props false))
(not (:onboarding-viewed props false)))
[:& app.main.ui.onboarding.questions/questions
{:profile profile
:form-id cf/onboarding-form-id}]
[:& app.main.ui.onboarding.questions/questions]
(not (:onboarding-viewed props))
[:& app.main.ui.onboarding/onboarding-modal {}]