fix dialog close error
This commit is contained in:
parent
809429c9d2
commit
1e56fa11a0
1 changed files with 2 additions and 4 deletions
|
|
@ -189,7 +189,6 @@ async function customerStall(path) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
closeQrCodeDialog() {
|
closeQrCodeDialog() {
|
||||||
this.qrCodeDialog.dismissMsg()
|
|
||||||
this.qrCodeDialog.show = false
|
this.qrCodeDialog.show = false
|
||||||
},
|
},
|
||||||
async placeOrder() {
|
async placeOrder() {
|
||||||
|
|
@ -345,9 +344,8 @@ async function customerStall(path) {
|
||||||
let json = JSON.parse(text)
|
let json = JSON.parse(text)
|
||||||
if (json.id != this.activeOrder) return
|
if (json.id != this.activeOrder) return
|
||||||
if (json.payment_options) {
|
if (json.payment_options) {
|
||||||
let payment_request = json.payment_options.find(
|
let payment_request = json.payment_options.find(o => o.type == 'ln')
|
||||||
o => o.type == 'ln'
|
.link
|
||||||
).link
|
|
||||||
if (!payment_request) return
|
if (!payment_request) return
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.qrCodeDialog.data.payment_request = payment_request
|
this.qrCodeDialog.data.payment_request = payment_request
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue