mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
Added guard for missing currency in currency symbol helper
no refs
This commit is contained in:
parent
ff4d0b8ce0
commit
82470a723c
@ -6,6 +6,9 @@ export default class CurrencySymbolHelper extends Helper {
|
||||
@service feature;
|
||||
|
||||
compute([currency]) {
|
||||
return getSymbol(currency);
|
||||
if (currency) {
|
||||
return getSymbol(currency);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user