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() {
|
||||
this.qrCodeDialog.dismissMsg()
|
||||
this.qrCodeDialog.show = false
|
||||
},
|
||||
async placeOrder() {
|
||||
|
|
@ -345,9 +344,8 @@ async function customerStall(path) {
|
|||
let json = JSON.parse(text)
|
||||
if (json.id != this.activeOrder) return
|
||||
if (json.payment_options) {
|
||||
let payment_request = json.payment_options.find(
|
||||
o => o.type == 'ln'
|
||||
).link
|
||||
let payment_request = json.payment_options.find(o => o.type == 'ln')
|
||||
.link
|
||||
if (!payment_request) return
|
||||
this.loading = false
|
||||
this.qrCodeDialog.data.payment_request = payment_request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue