forked from cerc-io/cosmos-explorer
fix format number issue
This commit is contained in:
parent
0df70f5701
commit
e6459023e1
@ -439,9 +439,9 @@ export default {
|
||||
total[denom] = this.formatCurrency(x.amount, x.denom)
|
||||
}
|
||||
if (qty[denom]) {
|
||||
qty[denom] += this.formatAmount(x.amount, x.denom)
|
||||
qty[denom] += this.formatAmount(x.amount, x.denom, false)
|
||||
} else {
|
||||
qty[denom] = this.formatAmount(x.amount, x.denom)
|
||||
qty[denom] = this.formatAmount(x.amount, x.denom, false)
|
||||
}
|
||||
})
|
||||
})
|
||||
@ -457,9 +457,9 @@ export default {
|
||||
total[denom] = this.formatCurrency(x.amount, x.denom)
|
||||
}
|
||||
if (qty[denom]) {
|
||||
qty[denom] += this.formatAmount(x.amount, x.denom)
|
||||
qty[denom] += this.formatAmount(x.amount, x.denom, false)
|
||||
} else {
|
||||
qty[denom] = this.formatAmount(x.amount, x.denom)
|
||||
qty[denom] = this.formatAmount(x.amount, x.denom, false)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user