fix(pro): Upgrade buttons go to /payment

This commit is contained in:
Ben Gotow 2016-05-31 12:15:58 -07:00
parent cabc052c18
commit 2dac16f9ca
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ export default class AccountErrorHeader extends React.Component {
_onUpgrade = () => {
this.setState({buildingUpgradeURL: true});
IdentityStore.fetchSingleSignOnURL('/dashboard').then((url) => {
IdentityStore.fetchSingleSignOnURL('/payment').then((url) => {
this.setState({buildingUpgradeURL: false});
shell.openExternal(url);
});

View file

@ -83,7 +83,7 @@ class PreferencesIdentity extends React.Component {
There {(trialDaysRemaining > 1) ? `are ${trialDaysRemaining} days ` : `is one day `}
remaining in your 30-day trial of Nylas Pro.
</div>
<OpenIdentityPageButton img="ic-upgrade.png" label="Upgrade to Nylas Pro" path="/dashboard#subscription" />
<OpenIdentityPageButton img="ic-upgrade.png" label="Upgrade to Nylas Pro" path="/payment" />
</div>
)
}