- Togliere la terza cifra nell'invio dei RIS... massimo 0.99

This commit is contained in:
Surya Paolo
2024-10-01 00:46:45 +02:00
parent 3a4faf0122
commit 1424060813
8 changed files with 67 additions and 29 deletions

View File

@@ -282,7 +282,8 @@ export default defineComponent({
qty.value = props.qtydefault
if (props.sendRIS) {
qty.value = props.sendRIS
if (props.sendRIS !== '0')
qty.value = props.sendRIS
}
await aggiorna()
@@ -403,7 +404,7 @@ export default defineComponent({
}
function checkRisValid() {
return qty.value ? qty.value && getQty() > 0.01 && accountloaded.value
return qty.value ? qty.value && getQty() >= 0.01 && accountloaded.value
&& getQty() <= circuitStore.getRemainingCoinsToSend(accountloaded.value) : false
}