mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Rounded monthly/yearly Price
refs https://github.com/TryGhost/Team/issues/1319
This commit is contained in:
parent
4cd5ea90eb
commit
55af726402
1 changed files with 2 additions and 2 deletions
|
@ -259,8 +259,8 @@ export default class MembersAccessController extends Controller {
|
|||
@action
|
||||
updatePortalPreview({forceRefresh} = {forceRefresh: false}) {
|
||||
// TODO: can these be worked out from settings in membersUtils?
|
||||
const monthlyPrice = this.stripeMonthlyAmount * 100;
|
||||
const yearlyPrice = this.stripeYearlyAmount * 100;
|
||||
const monthlyPrice = Math.round(this.stripeMonthlyAmount * 100);
|
||||
const yearlyPrice = Math.round(this.stripeYearlyAmount * 100);
|
||||
let portalPlans = this.settings.get('portalPlans') || [];
|
||||
|
||||
let isMonthlyChecked = portalPlans.includes('monthly');
|
||||
|
|
Loading…
Add table
Reference in a new issue