feat: add copy, download and write NFC to qrcode components (#3335)

This commit is contained in:
dni ⚡
2025-09-02 14:48:29 +02:00
committed by GitHub
parent 5021570f68
commit 2375f7bcf8
11 changed files with 269 additions and 172 deletions
-8
View File
@@ -45,7 +45,6 @@ window.WalletPageLogic = {
payment_hash: null
}
},
invoiceQrCode: '',
disclaimerDialog: {
show: false,
location: window.location
@@ -313,13 +312,6 @@ window.WalletPageLogic = {
})
}
}
// Hack as rendering in dialog causes reactivity issues. Does speed up, as only rendering lnbits-qrcode once.
this.$nextTick(() => {
this.invoiceQrCode = document.getElementById(
'hiddenQrCodeContainer'
).innerHTML
})
})
.catch(err => {
LNbits.utils.notifyApiError(err)