Compare commits
3
Commits
0.12.6-rc2
...
0.12.6-rc3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05a244d8fd | ||
|
|
019995078c | ||
|
|
f37cb6481c |
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -83,6 +83,7 @@ function generateChart(canvas, rawData) {
|
|||||||
Vue.component('payment-chart', {
|
Vue.component('payment-chart', {
|
||||||
name: 'payment-chart',
|
name: 'payment-chart',
|
||||||
props: ['wallet'],
|
props: ['wallet'],
|
||||||
|
mixins: [windowMixin],
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
paymentsChart: {
|
paymentsChart: {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
Vue.component('payment-list', {
|
Vue.component('payment-list', {
|
||||||
name: 'payment-list',
|
name: 'payment-list',
|
||||||
props: ['update', 'wallet', 'mobileSimple', 'lazy'],
|
props: ['update', 'wallet', 'mobileSimple', 'lazy'],
|
||||||
|
mixins: [windowMixin],
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
denomination: LNBITS_DENOMINATION,
|
denomination: LNBITS_DENOMINATION,
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ new Vue({
|
|||||||
show: false,
|
show: false,
|
||||||
location: window.location
|
location: window.location
|
||||||
},
|
},
|
||||||
balance: 0,
|
balance: parseInt(wallet.balance_msat / 1000),
|
||||||
fiatBalance: 0,
|
fiatBalance: 0,
|
||||||
mobileSimple: false,
|
mobileSimple: false,
|
||||||
credit: 0,
|
credit: 0,
|
||||||
@@ -349,9 +349,10 @@ new Vue({
|
|||||||
.getPayment(this.g.wallet, response.data.payment_hash)
|
.getPayment(this.g.wallet, response.data.payment_hash)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.data.paid) {
|
if (res.data.paid) {
|
||||||
this.parse.show = false
|
|
||||||
clearInterval(this.parse.paymentChecker)
|
|
||||||
dismissPaymentMsg()
|
dismissPaymentMsg()
|
||||||
|
clearInterval(this.parse.paymentChecker)
|
||||||
|
this.updatePayments = !this.updatePayments
|
||||||
|
this.parse.show = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 2000)
|
}, 2000)
|
||||||
@@ -359,6 +360,8 @@ new Vue({
|
|||||||
.catch(err => {
|
.catch(err => {
|
||||||
dismissPaymentMsg()
|
dismissPaymentMsg()
|
||||||
LNbits.utils.notifyApiError(err)
|
LNbits.utils.notifyApiError(err)
|
||||||
|
this.updatePayments = !this.updatePayments
|
||||||
|
this.parse.show = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
payLnurl: function () {
|
payLnurl: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user