forked from cerc-io/cosmos-explorer
fixed null issue in pirce changes
This commit is contained in:
parent
859c7dbc20
commit
88ad420008
@ -543,7 +543,7 @@ export default {
|
||||
if (price > 0) {
|
||||
return `+${parseFloat(price.toFixed(2))}%`
|
||||
}
|
||||
return price === 0 ? '' : `${parseFloat(price.toFixed(2))}%`
|
||||
return ''
|
||||
},
|
||||
formatPrice(denom) {
|
||||
const d2 = this.formatDenom(denom)
|
||||
|
Loading…
Reference in New Issue
Block a user