0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed plan type checkboxes not updating portal preview in launch wizard

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

- incorrect property names were used
This commit is contained in:
Kevin Ansfield 2021-02-11 18:37:23 +00:00
parent d52347118c
commit 3ed73c795d

View file

@ -182,10 +182,11 @@ export default class GhLaunchWizardSetPricingComponent extends Component {
currency: this.selectedCurrency.value,
monthlyPrice: this.stripePlans.monthly.amount,
yearlyPrice: this.stripePlans.yearly.amount,
isMonthly: this.isMonthlyChecked,
isYearly: this.isYearlyChecked,
isFree: this.isFreeChecked
isMonthlyChecked: this.isMonthlyChecked,
isYearlyChecked: this.isYearlyChecked,
isFreeChecked: this.isFreeChecked
};
const url = this.membersUtils.getPortalPreviewUrl(options);
this.args.updatePreview(url);
}