Reverted useDashboard.ts

This commit is contained in:
ZENODE 2024-02-20 20:16:08 +01:00
parent 4835781d29
commit def7de5a63

View File

@ -290,7 +290,7 @@ export const useDashboard = defineStore('dashboard', {
keys.forEach(k => {
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)
coinIds.push(a.coingecko_id)
a.denom_units.forEach(u => {
this.coingecko[u.denom] = {
coinId: a.coingecko_id || '',
@ -298,7 +298,7 @@ export const useDashboard = defineStore('dashboard', {
symbol: a.symbol
}
})
}
}
})
})