mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 18:44:01 +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;
|
||||
|
||||
Actions.setNylasIdentity(json);
|
||||
this._openWelcomePage();
|
||||
if (!json.seen_welcome_page) {
|
||||
this._openWelcomePage();
|
||||
}
|
||||
Actions.recordUserEvent('Nylas Identity Set');
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Reference in a new issue