mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fixed cancel button on tier modal with free trials
refs https://github.com/TryGhost/Team/issues/1724
This commit is contained in:
parent
1f9fadf4c7
commit
a016834427
1 changed files with 1 additions and 1 deletions
|
@ -145,10 +145,10 @@ export default class ModalTierPrice extends ModalBase {
|
|||
}
|
||||
|
||||
reset() {
|
||||
this.tier.rollbackAttributes();
|
||||
this.newBenefit = TierBenefitItem.create({isNew: true, name: ''});
|
||||
const finalBenefits = this.savedBenefits || emberA([]);
|
||||
this.tier.set('benefits', finalBenefits);
|
||||
this.tier.rollbackAttributes();
|
||||
}
|
||||
|
||||
@task({drop: true})
|
||||
|
|
Loading…
Add table
Reference in a new issue