RoutePrice fix
This commit is contained in:
@@ -20,6 +20,8 @@ const price = computed(()=>{
|
||||
if( !route || !(route.pool in s.poolPrices) )
|
||||
return ''
|
||||
let p = s.poolPrices[route.pool]
|
||||
if( !p )
|
||||
return ''
|
||||
if( props.inverted )
|
||||
p = 1/p
|
||||
return p.toPrecision(props.precision)
|
||||
|
||||
Reference in New Issue
Block a user