diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 2aba349f..9e6a017f 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -303,7 +303,7 @@ export default { methods: { formatToken(tokens) { if (Array.isArray(tokens)) { - let nativeToken = tokens.filter(x => !x.denom.toUpperCase().startsWith('IBC/')) + let nativeToken = tokens.filter(x => x.denom.length < 11) if (tokens.length > 1) { const sum = {} const reduce = nativeToken.reduce((b, a) => { diff --git a/src/views/components/dashboard/DashboardPriceChart2.vue b/src/views/components/dashboard/DashboardPriceChart2.vue index 40fce8b9..d8a5ed70 100644 --- a/src/views/components/dashboard/DashboardPriceChart2.vue +++ b/src/views/components/dashboard/DashboardPriceChart2.vue @@ -83,7 +83,7 @@ - + - + {{ coinInfo.description.en || '' }} -
- LINKS: +
{ this.marketData = res + }).catch(() => { + this.marketData = null }) this.$http.getCoinInfo().then(res => { if (res) {