Updated default trial days on new offer

refs https://github.com/TryGhost/Team/issues/1726

- updates default trial days to 7 for new offers
This commit is contained in:
Rishabh 2022-08-11 17:40:56 +05:30
parent ae7f39168b
commit 18cd104510

View File

@ -439,7 +439,7 @@ export default class OffersController extends Controller {
changeType(type) {
if (type === 'trial') {
this._saveOfferProperty('type', 'trial');
this._saveOfferProperty('amount', 0);
this._saveOfferProperty('amount', 7);
this._saveOfferProperty('duration', 'trial');
} else {
this._saveOfferProperty('type', 'percent');