order detail foldout
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<span>{{fmtAmount}} {{ token.symbol || '' }}</span>
|
||||
<span>{{fmtAmount}} {{ raw ? '' : (token.symbol || '') }}</span>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -9,7 +9,7 @@ import {FixedNumber} from "ethers";
|
||||
import {computed, ref} from "vue";
|
||||
|
||||
const s = useStore()
|
||||
const props = defineProps(['addr', 'amount'])
|
||||
const props = defineProps(['addr', 'amount', 'raw'])
|
||||
const token = await getToken(props.addr)
|
||||
const fmtAmount = computed(() => {
|
||||
if( props.amount === null || props.amount === undefined )
|
||||
|
||||
Reference in New Issue
Block a user