Ver Fonte

see also (9) #95 and fixed #95

ali há 3 anos atrás
pai
commit
b6f272f1c1
1 ficheiros alterados com 0 adições e 6 exclusões
  1. 0 6
      src/components/Widgets/Wallet/MyWallet/MyWallet.vue

+ 0 - 6
src/components/Widgets/Wallet/MyWallet/MyWallet.vue

@@ -122,9 +122,6 @@ export default {
         })
     },
     deposit () {
-      if (isNaN(this.depositAmount) || this.depositAmount === 0) {
-        return
-      }
       this.wallet.loading = true
       APIGateway.wallet.deposit({ amount: this.depositAmount })
         .then((url) => {
@@ -135,9 +132,6 @@ export default {
         })
     },
     withdraw () {
-      if (isNaN(this.withdrawAmount) || this.withdrawAmount === 0) {
-        return
-      }
       this.wallet.loading = true
       APIGateway.payment.requestWithdraw({ IBAN: this.shabaNumber, amount: this.withdrawAmount })
         .then(() => {