Allow recovering to see referral flow
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
92fae99cf7
commit
5458c7b2db
|
@ -250,9 +250,7 @@
|
||||||
[{:keys [db] :as cofx}]
|
[{:keys [db] :as cofx}]
|
||||||
(let [{:keys [multiaccount multiaccounts :multiaccount/accounts]} db
|
(let [{:keys [multiaccount multiaccounts :multiaccount/accounts]} db
|
||||||
{:keys [creating?]} (:multiaccounts/login db)
|
{:keys [creating?]} (:multiaccounts/login db)
|
||||||
recovering? (get-in db [:intro-wizard :recovering?])
|
|
||||||
first-account? (and creating?
|
first-account? (and creating?
|
||||||
(not recovering?)
|
|
||||||
(empty? multiaccounts))]
|
(empty? multiaccounts))]
|
||||||
(fx/merge cofx
|
(fx/merge cofx
|
||||||
{:db (-> db
|
{:db (-> db
|
||||||
|
|
Loading…
Reference in New Issue