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:
parent
e683564ab2
commit
54c63fef06
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue