fix(onboarding): Only show the welcome page if not already seen

This commit is contained in:
Ben Gotow 2016-06-03 16:05:51 -07:00
parent 95b3939885
commit 1f27e00069

View file

@ -123,7 +123,9 @@ class OnboardingStore extends NylasStore {
const isFirstAccount = AccountStore.accounts().length === 0;
Actions.setNylasIdentity(json);
if (!json.seen_welcome_page) {
this._openWelcomePage();
}
Actions.recordUserEvent('Nylas Identity Set');
setTimeout(() => {