mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed plan value in paid account home
no issue - The plan value we get from API for a member is in cents and needs to be converted to dollars before showing.
This commit is contained in:
parent
21661e8eb8
commit
e8b25fc6e4
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ export default class PaidAccountHomePage extends React.Component {
|
|||
);
|
||||
}
|
||||
|
||||
getPlanLabel({amount, currency_symbol: currencySymbol = '$', interval}) {
|
||||
return `${currencySymbol}${amount} / ${interval}`;
|
||||
getPlanLabel({amount = 0, currency_symbol: currencySymbol = '$', interval}) {
|
||||
return `${currencySymbol}${amount / 100} / ${interval}`;
|
||||
}
|
||||
|
||||
getCardLabel({defaultCardLast4}) {
|
||||
|
|
Loading…
Add table
Reference in a new issue