major refactor of web store into vue setup style declaration; reactivity debugging; order view has known refresh issues
This commit is contained in:
@@ -18,9 +18,12 @@ const props = defineProps({
|
||||
|
||||
const price = computed(()=>{
|
||||
const route = props.route;
|
||||
if( !route || !(route.pool in s.poolPrices) )
|
||||
if( !route )
|
||||
return ''
|
||||
let p = s.poolPrices[route.pool]
|
||||
const routeKey = [route.chainId, route.pool]
|
||||
if( !(routeKey in s.poolPrices) )
|
||||
return ''
|
||||
let p = s.poolPrices[routeKey]
|
||||
// console.log('pool price is',typeof p, p)
|
||||
if( !p )
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user