Update SidebarReflexerPayback.vue

This commit is contained in:
Georges KABBOUCHI 2021-08-28 00:42:39 +03:00
parent c6c82ec0dc
commit 29666d70dc

View File

@ -156,7 +156,7 @@ export default defineComponent({
pending.value = true
const amount = isMaxAmount.value
? gte(balance.value, balance.value)
? gte(balance.value, debt.value)
? dsa.value.maxValue
: balanceRaw.value
: valInt(amountParsed.value, decimals.value)