Fixed Offer handling when Portal disabled

no-issue

The checkoutPlan action should only be used for upgrading members as it
does not send an email upon completion.
This commit is contained in:
Fabien "egg" O'Carroll 2022-02-09 18:19:12 +02:00
parent c4681e35ed
commit 0ad09da764

View File

@ -583,7 +583,7 @@ export default class App extends React.Component {
this.dispatchAction('openPopup', {
page: 'loading'
});
this.dispatchAction('checkoutPlan', {plan: price.id, offerId});
this.dispatchAction('signup', {plan: price.id, offerId});
} else {
this.dispatchAction('openPopup', {
page: 'offer',