mockenv deployment rework; price and setprice scripts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<v-chip>
|
||||
<!-- <v-avatar start :image="token.icon === null ? '' : token.icon"/>-->
|
||||
<!-- <v-avatar start :image="token.image === null ? '' : token.image"/>-->
|
||||
{{token.symbol}} {{token.name}}
|
||||
</v-chip>
|
||||
</template>
|
||||
|
||||
@@ -35,7 +35,7 @@ const fixed = computed(() => FixedNumber.fromValue(props.amount, token.decimals,
|
||||
width: 256,
|
||||
decimals: token.decimals
|
||||
}))
|
||||
const imageSrc = computed(() => null)
|
||||
const imageSrc = computed(() => token.image)
|
||||
const withdrawing = ref(false)
|
||||
</script>
|
||||
|
||||
|
||||
@@ -23,10 +23,11 @@
|
||||
</v-card-text>
|
||||
</PhoneCard>
|
||||
-->
|
||||
<v-card v-if="s.vaults.length<num">
|
||||
<v-card v-if="s.vaults.length<=num">
|
||||
<v-card-title><v-icon icon="mdi-safe-square-outline" size="small" color="red"/> No Vault Yet</v-card-title>
|
||||
<v-card-text v-if="num!==0"><!--todo-->Multiple vaults are not yet supported</v-card-text>
|
||||
<v-card-text v-if="num===0">Create an order first, then your vault account will appear here to accept a deposit of trading funds.</v-card-text>
|
||||
<v-card-actions><v-btn prepend-icon="mdi-plus" text="Create Order" @click="$router.push('/orders')"/></v-card-actions>
|
||||
</v-card>
|
||||
<v-card v-if="s.vaults.length>num">
|
||||
<v-card-title><v-icon icon="mdi-safe-square-outline" size="small"/> My Vault {{s.vaults.length>1?'#'+(num+1):''}}</v-card-title> <!-- todo vault nicknames -->
|
||||
|
||||
Reference in New Issue
Block a user