forked from cerc-io/cosmos-explorer
Fixes adding exponent for chains without coingecko_ids
This commit is contained in:
parent
23d43543cb
commit
dc1c4a5ca1
@ -291,6 +291,7 @@ export const useDashboard = defineStore('dashboard', {
|
||||
if(this.chains[k]) this.chains[k].assets.forEach(a => {
|
||||
if(a.coingecko_id !== undefined && a.coingecko_id.length > 0) {
|
||||
coinIds.push(a.coingecko_id)
|
||||
}
|
||||
a.denom_units.forEach(u => {
|
||||
this.coingecko[u.denom] = {
|
||||
coinId: a.coingecko_id || '',
|
||||
@ -298,7 +299,6 @@ export const useDashboard = defineStore('dashboard', {
|
||||
symbol: a.symbol
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user