From 0a76103b9552d0e357399c8b61faee3598a929ab Mon Sep 17 00:00:00 2001 From: Kostya Date: Wed, 13 Dec 2023 21:04:52 +0300 Subject: [PATCH] fixed bug with off btn v.2 --- luckydiamond/src/components/PaymentsModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luckydiamond/src/components/PaymentsModal.vue b/luckydiamond/src/components/PaymentsModal.vue index 2d33b1c..923a287 100644 --- a/luckydiamond/src/components/PaymentsModal.vue +++ b/luckydiamond/src/components/PaymentsModal.vue @@ -64,14 +64,14 @@ export default { watch: { amount(newAmount) { console.log(newAmount) - this.offBtn = !this.offBtn + this.offBtn = true setTimeout(() => { try { GettingMoneyOperation(newAmount) .then((response) => { console.log('Payments Modal Working!: ', response) this.url = response.url - this.offBtn = !this.offBtn + this.offBtn = false }) } catch (e) {