0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 14:12:36 -05:00

🐛 Fix create team modal when user is creating account via invitation

This commit is contained in:
Pablo Alba 2024-12-26 13:51:11 +01:00
parent e683564ab2
commit 54c63fef06

View file

@ -148,6 +148,7 @@
(let [{:keys [data params]} route
props (get profile :props)
section (get data :name)
team (mf/deref refs/team)
show-question-modal?
@ -165,7 +166,8 @@
(and (contains? cf/flags :onboarding)
(not (:onboarding-viewed props))
(not (contains? props :onboarding-team-id))
(contains? props :newsletter-updates))
(contains? props :newsletter-updates)
(:is-default team))
show-release-modal?
(and (contains? cf/flags :onboarding)