mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 19:32:54 +03:00
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:
parent
ae7f39168b
commit
18cd104510
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user