changed logic for offbtn in watcher, payments modal

This commit is contained in:
Kostya
2023-12-13 23:55:38 +03:00
parent 74b543afe7
commit f797aa17d7

View File

@@ -63,10 +63,8 @@ export default {
}, },
watch: { watch: {
amount(newAmount) { amount(newAmount) {
console.log(newAmount) this.offBtn = true
if (this.amount > 0 && this.amount !== '' ) { if (this.amount > 0 && this.amount !== '' ) {
this.offBtn = true
console.log('OFFBTN', this.offBtn)
setTimeout(() => { setTimeout(() => {
try { try {
GettingMoneyOperation(newAmount) GettingMoneyOperation(newAmount)
@@ -74,7 +72,6 @@ export default {
console.log('Payments Modal Working!: ', response) console.log('Payments Modal Working!: ', response)
this.url = response.url this.url = response.url
this.offBtn = false this.offBtn = false
console.log('ONBTN', this.offBtn)
}) })
} }
catch (e) { catch (e) {