mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 12:02:39 +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
|
<span
|
||||||
v-if="receive.lnurl"
|
v-if="receive.lnurl"
|
||||||
v-text="$t('withdraw_from') + receive.lnurl.domain"
|
v-text="`${$t('withdraw_from')} ${receive.lnurl.domain}`"
|
||||||
></span>
|
></span>
|
||||||
<span v-else v-text="$t('create_invoice')"></span>
|
<span v-else v-text="$t('create_invoice')"></span>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
@@ -261,7 +261,9 @@ window.WalletPageLogic = {
|
|||||||
this.receive.paymentReq = response.data.bolt11
|
this.receive.paymentReq = response.data.bolt11
|
||||||
this.receive.amountMsat = response.data.amount
|
this.receive.amountMsat = response.data.amount
|
||||||
this.receive.paymentHash = response.data.payment_hash
|
this.receive.paymentHash = response.data.payment_hash
|
||||||
this.readNfcTag()
|
if (!this.receive.lnurl) {
|
||||||
|
this.readNfcTag()
|
||||||
|
}
|
||||||
// TODO: lnurl_callback and lnurl_response
|
// TODO: lnurl_callback and lnurl_response
|
||||||
// WITHDRAW
|
// WITHDRAW
|
||||||
if (response.data.lnurl_response !== null) {
|
if (response.data.lnurl_response !== null) {
|
||||||
|
Reference in New Issue
Block a user