mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed @price.currency_symbol helper
closes #11984 The refactor to new settings lost the uppercasing of the currency string, this puts it back
This commit is contained in:
parent
7f7484669e
commit
cbdf33bfb7
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ function haxGetMembersPriceData() {
|
|||
}, {});
|
||||
|
||||
priceData.currency = stripePlans[0].currency;
|
||||
priceData.currency_symbol = CURRENCY_SYMBOLS[priceData.currency];
|
||||
priceData.currency_symbol = CURRENCY_SYMBOLS[priceData.currency.toUpperCase()];
|
||||
|
||||
if (Number.isInteger(priceData.monthly) && Number.isInteger(priceData.yearly)) {
|
||||
return priceData;
|
||||
|
|
Loading…
Add table
Reference in a new issue