diff --git a/src/views/components/dashboard/DashboardPriceChart2.vue b/src/views/components/dashboard/DashboardPriceChart2.vue index aaa05483..fd626652 100644 --- a/src/views/components/dashboard/DashboardPriceChart2.vue +++ b/src/views/components/dashboard/DashboardPriceChart2.vue @@ -60,10 +60,12 @@ ${{ pair.converted_last.usd }} - {{ coinInfo.symbol }}/{{ pair.target }} + {{ pair.base }}/{{ pair.target }} @@ -76,7 +78,7 @@

{{ selectedTicker.converted_last.usd || '-' }}

- / {{ selectedTicker.target || 'USDC' }} + / USD @@ -382,8 +384,8 @@ export default { this.$http.getCoinInfo().then(res => { if (res) { this.coinInfo = res - if (res.tickers.lenght > 0) { - this.tickers = res.tickers + this.tickers = res.tickers + if (this.tickers.length > 0) { // eslint-disable-next-line prefer-destructuring this.selectedTicker = this.tickers[0] }