diff --git a/src/components/Widgets/CryptoWatchList.vue b/src/components/Widgets/CryptoWatchList.vue index 7b86ad25..4230fc71 100644 --- a/src/components/Widgets/CryptoWatchList.vue +++ b/src/components/Widgets/CryptoWatchList.vue @@ -9,7 +9,7 @@ >
{{ asset.name }}
-{{ asset.price | formatPrice }}
+{{ asset.price | formatPrice(currency) }}
{{ asset.percentChange | formatPercentage }}
@@ -70,8 +70,9 @@ export default { }, filters: { /* Append currency symbol to price */ - formatPrice(price) { - return `${findCurrencySymbol('usd')}${putCommasInBigNum(roundPrice(price))}`; + formatPrice(price, currency) { + if (currency === undefined) return ''; + return `${findCurrencySymbol(currency)}${putCommasInBigNum(roundPrice(price))}`; }, /* Append percentage symbol, and up/ down arrow */ formatPercentage(change) {