0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed members plan currency symbol

no issue

The refactor to new settings lost the uppercasing of the currency string, this puts it back
This commit is contained in:
Rish 2020-07-08 10:47:28 +05:30
parent 173e3292fa
commit c5d360e647

View file

@ -73,7 +73,7 @@ class MembersConfigProvider {
}, {});
priceData.currency = plans[0].currency || 'USD';
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;