mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-29 03:17:47 +08:00
fix(analytics): fix identify
This commit is contained in:
parent
b8b1d9a067
commit
bc785c7b5d
2 changed files with 1 additions and 13 deletions
|
@ -14,16 +14,6 @@ function accountTypeForProvider(provider) {
|
|||
return provider;
|
||||
}
|
||||
|
||||
function providerForAccountType(type) {
|
||||
if (type === 'exchange') {
|
||||
return 'eas';
|
||||
}
|
||||
if (type === 'imap') {
|
||||
return 'custom';
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
class OnboardingStore extends NylasStore {
|
||||
constructor() {
|
||||
super();
|
||||
|
@ -109,8 +99,6 @@ class OnboardingStore extends NylasStore {
|
|||
} else if (type === 'exchange') {
|
||||
nextPage = "account-settings-exchange";
|
||||
}
|
||||
const provider = providerForAccountType(type)
|
||||
Actions.recordUserEvent('Email Account Auth Started', {provider});
|
||||
this._onSetAccountInfo(Object.assign({}, this._accountInfo, {type}));
|
||||
this._onMoveToPage(nextPage);
|
||||
}
|
||||
|
|
2
src/pro
2
src/pro
|
@ -1 +1 @@
|
|||
Subproject commit 8464a3e7edb0179dfaa68ae7e557995f1890e01f
|
||||
Subproject commit e6876cf0d6b14e8b7c5c68a29ce1a7735fe2e25e
|
Loading…
Reference in a new issue