mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
changed logic for offbtn in watcher, payments modal
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user