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