This always catches me. Pretty quotes!
This commit is contained in:
parent
6f87f11e4a
commit
9cfdd3f07e
|
@ -2,15 +2,15 @@ export default Ember.Helper.helper(function(params) {
|
||||||
let currencySign;
|
let currencySign;
|
||||||
|
|
||||||
switch (Discourse.SiteSettings.discourse_patrons_currency) {
|
switch (Discourse.SiteSettings.discourse_patrons_currency) {
|
||||||
case 'EUR':
|
case "EUR":
|
||||||
currencySign = "€";
|
currencySign = "€";
|
||||||
break;
|
break;
|
||||||
case 'GBP':
|
case "GBP":
|
||||||
currencySign = "£";
|
currencySign = "£";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
currencySign = "$";
|
currencySign = "$";
|
||||||
}
|
}
|
||||||
|
|
||||||
return [currencySign, params[0]].join('');
|
return [currencySign, params[0]].join("");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue