mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(pro): Upgrade buttons go to /payment
This commit is contained in:
parent
cabc052c18
commit
2dac16f9ca
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue