bug: wallet page fetchbalance ran twice
there is a listener on payments which executes fetchbalance automatically if payments change. line 822
This commit is contained in:
parent
d208e68885
commit
d0cb961b49
1 changed files with 0 additions and 5 deletions
|
|
@ -360,7 +360,6 @@ new Vue({
|
||||||
},
|
},
|
||||||
onPaymentReceived: function (paymentHash) {
|
onPaymentReceived: function (paymentHash) {
|
||||||
this.fetchPayments()
|
this.fetchPayments()
|
||||||
this.fetchBalance()
|
|
||||||
|
|
||||||
if (this.receive.paymentHash === paymentHash) {
|
if (this.receive.paymentHash === paymentHash) {
|
||||||
this.receive.show = false
|
this.receive.show = false
|
||||||
|
|
@ -589,7 +588,6 @@ new Vue({
|
||||||
clearInterval(this.parse.paymentChecker)
|
clearInterval(this.parse.paymentChecker)
|
||||||
dismissPaymentMsg()
|
dismissPaymentMsg()
|
||||||
this.fetchPayments()
|
this.fetchPayments()
|
||||||
this.fetchBalance()
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 2000)
|
}, 2000)
|
||||||
|
|
@ -630,8 +628,6 @@ new Vue({
|
||||||
dismissPaymentMsg()
|
dismissPaymentMsg()
|
||||||
clearInterval(this.parse.paymentChecker)
|
clearInterval(this.parse.paymentChecker)
|
||||||
this.fetchPayments()
|
this.fetchPayments()
|
||||||
this.fetchBalance()
|
|
||||||
|
|
||||||
// show lnurlpay success action
|
// show lnurlpay success action
|
||||||
if (response.data.success_action) {
|
if (response.data.success_action) {
|
||||||
switch (response.data.success_action.tag) {
|
switch (response.data.success_action.tag) {
|
||||||
|
|
@ -840,7 +836,6 @@ new Vue({
|
||||||
if (this.$q.screen.lt.md) {
|
if (this.$q.screen.lt.md) {
|
||||||
this.mobileSimple = true
|
this.mobileSimple = true
|
||||||
}
|
}
|
||||||
this.fetchBalance()
|
|
||||||
this.fetchPayments()
|
this.fetchPayments()
|
||||||
|
|
||||||
this.update.name = this.g.wallet.name
|
this.update.name = this.g.wallet.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue