historical order query
This commit is contained in:
@@ -22,6 +22,7 @@ const price = computed(()=>{
|
||||
let p = s.poolPrices[route.pool]
|
||||
if( !p )
|
||||
return ''
|
||||
console.log('pool price is',p)
|
||||
if( props.inverted )
|
||||
p = 1/p
|
||||
return p.toPrecision(props.precision)
|
||||
|
||||
@@ -31,7 +31,7 @@ socket.on('p', async (chainId, pool, price) => {
|
||||
return
|
||||
const prices = {}
|
||||
prices[pool] = price
|
||||
console.log('pool price', pool, price)
|
||||
console.log('pool price from message', pool, price)
|
||||
const poolPrices = s.poolPrices
|
||||
poolPrices[pool] = price
|
||||
s.poolPrices = poolPrices
|
||||
|
||||
Reference in New Issue
Block a user