feat: allow delete merchant from nostr

This commit is contained in:
Vlad Stan 2023-03-23 11:14:34 +02:00
parent 260bea9ccf
commit 05ecc65e5a
7 changed files with 141 additions and 11 deletions

View file

@ -354,8 +354,9 @@ async function customerStall(path) {
this.qrCodeDialog.data.message = json.message
return cb()
}
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