minor touchups
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</template>
|
||||
<template v-slot:append-inner>
|
||||
<v-btn @click="os.amountIsTokenA=!os.amountIsTokenA" variant="outlined" class="mr-2">
|
||||
{{ amountToken.symbol }}
|
||||
{{ os.amountToken.symbol }}
|
||||
</v-btn>
|
||||
<v-btn :text="os.amountIsTotal ? 'total' : 'per tranche'" variant="outlined"
|
||||
@click="os.amountIsTotal=!os.amountIsTotal" class="total"/>
|
||||
@@ -24,7 +24,6 @@ import {computed} from "vue";
|
||||
const s = useStore()
|
||||
const os = useOrderStore()
|
||||
|
||||
const amountToken = computed( ()=>os.amountIsTokenA ? os.tokenA.symbol : os.tokenB.symbol )
|
||||
const inToken = computed( ()=>os.buy ? os.tokenB : os.tokenA )
|
||||
const maxAmount = computed(()=>{
|
||||
const balance = s.balances[inToken]
|
||||
|
||||
Reference in New Issue
Block a user