mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-04 18:33:10 +02:00
fix: do not ask for NFC if not needed (#3145)
This commit is contained in:
committed by
GitHub
parent
f92ae8bae1
commit
8458b4d84b
@@ -639,7 +639,7 @@
|
||||
>
|
||||
<span
|
||||
v-if="receive.lnurl"
|
||||
v-text="$t('withdraw_from') + receive.lnurl.domain"
|
||||
v-text="`${$t('withdraw_from')} ${receive.lnurl.domain}`"
|
||||
></span>
|
||||
<span v-else v-text="$t('create_invoice')"></span>
|
||||
</q-btn>
|
||||
|
@@ -261,7 +261,9 @@ window.WalletPageLogic = {
|
||||
this.receive.paymentReq = response.data.bolt11
|
||||
this.receive.amountMsat = response.data.amount
|
||||
this.receive.paymentHash = response.data.payment_hash
|
||||
this.readNfcTag()
|
||||
if (!this.receive.lnurl) {
|
||||
this.readNfcTag()
|
||||
}
|
||||
// TODO: lnurl_callback and lnurl_response
|
||||
// WITHDRAW
|
||||
if (response.data.lnurl_response !== null) {
|
||||
|
Reference in New Issue
Block a user