mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 03:23:45 +08:00
fix(onboarding): Only show the welcome page if not already seen
This commit is contained in:
parent
95b3939885
commit
1f27e00069
1 changed files with 3 additions and 1 deletions
|
@ -123,7 +123,9 @@ class OnboardingStore extends NylasStore {
|
||||||
const isFirstAccount = AccountStore.accounts().length === 0;
|
const isFirstAccount = AccountStore.accounts().length === 0;
|
||||||
|
|
||||||
Actions.setNylasIdentity(json);
|
Actions.setNylasIdentity(json);
|
||||||
|
if (!json.seen_welcome_page) {
|
||||||
this._openWelcomePage();
|
this._openWelcomePage();
|
||||||
|
}
|
||||||
Actions.recordUserEvent('Nylas Identity Set');
|
Actions.recordUserEvent('Nylas Identity Set');
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Reference in a new issue