fix: missing uppercase bolt11 for qrcode on wallet (#3798)
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -692,12 +692,10 @@ window.app.component('lnbits-node-qrcode', {
|
||||
<q-card-section>
|
||||
<div class="text-h6">
|
||||
<div style="text-align: center">
|
||||
<vue-qrcode
|
||||
:value="info.addresses[0]"
|
||||
:options="{width: 250}"
|
||||
<lnbits-qrcode
|
||||
v-if='info.addresses[0]'
|
||||
class="rounded-borders"
|
||||
></vue-qrcode>
|
||||
:value="info.addresses[0]"
|
||||
></lnbits-qrcode>
|
||||
<div v-else class='text-subtitle1'>
|
||||
No addresses available
|
||||
</div>
|
||||
|
||||
@@ -438,7 +438,7 @@
|
||||
<q-card-section>
|
||||
<div v-if="selectedRelease.paymentRequest">
|
||||
<lnbits-qrcode
|
||||
:value="'lightning:' + selectedRelease.paymentRequest.toUpperCase()"
|
||||
:value="'LIGHTNING:' + selectedRelease.paymentRequest.toUpperCase()"
|
||||
:href="'lightning:' + selectedRelease.paymentRequest"
|
||||
></lnbits-qrcode>
|
||||
</div>
|
||||
@@ -836,7 +836,7 @@
|
||||
<div v-if="selectedExtension.payToEnable.paymentRequest" class="col">
|
||||
<lnbits-qrcode
|
||||
:value="
|
||||
'lightning:' +
|
||||
'LIGHTNING:' +
|
||||
selectedExtension.payToEnable.paymentRequest.toUpperCase()
|
||||
"
|
||||
:href="
|
||||
@@ -1247,13 +1247,10 @@
|
||||
<q-dialog v-model="paymentDialog.show" position="top">
|
||||
<q-card class="q-pa-md lnbits__dialog-card">
|
||||
<q-card-section>
|
||||
<q-responsive :ratio="1" class="q-mx-xl q-mb-xl">
|
||||
<lnbits-qrcode
|
||||
:value="paymentDialog.invoice"
|
||||
:options="{width: 800}"
|
||||
class="rounded-borders"
|
||||
></lnbits-qrcode>
|
||||
</q-responsive>
|
||||
<lnbits-qrcode
|
||||
:value="'LIGHTNING:' + paymentDialog.invoice.toUpperCase()"
|
||||
:href="'lightning:' + paymentDialog.invoice"
|
||||
></lnbits-qrcode>
|
||||
</q-card-section>
|
||||
<q-card-actions align="between">
|
||||
<q-btn v-close-popup flat color="grey" :label="$t('close')"></q-btn>
|
||||
|
||||
@@ -589,23 +589,16 @@
|
||||
v-if="transactionDetailsDialog.data.bolt11"
|
||||
class="text-center q-mb-lg"
|
||||
>
|
||||
<a
|
||||
<lnbits-qrcode
|
||||
:href="
|
||||
'lightning:' +
|
||||
transactionDetailsDialog.data.bolt11
|
||||
"
|
||||
>
|
||||
<q-responsive :ratio="1" class="q-mx-xl">
|
||||
<qrcode-vue
|
||||
:value="
|
||||
'lightning:' +
|
||||
transactionDetailsDialog.data.bolt11.toUpperCase()
|
||||
"
|
||||
:options="{width: 340}"
|
||||
class="rounded-borders"
|
||||
></qrcode-vue>
|
||||
</q-responsive>
|
||||
</a>
|
||||
:value="
|
||||
'LIGHTNING:' +
|
||||
transactionDetailsDialog.data.bolt11.toUpperCase()
|
||||
"
|
||||
></lnbits-qrcode>
|
||||
<q-btn
|
||||
outline
|
||||
color="grey"
|
||||
@@ -698,25 +691,15 @@
|
||||
v-if="props.row.bolt11"
|
||||
class="text-center q-mb-lg"
|
||||
>
|
||||
<a
|
||||
<lnbits-qrcode
|
||||
:value="
|
||||
'LIGHTNING:' +
|
||||
props.row.bolt11.toUpperCase()
|
||||
"
|
||||
:href="
|
||||
'lightning:' + props.row.bolt11
|
||||
"
|
||||
>
|
||||
<q-responsive
|
||||
:ratio="1"
|
||||
class="q-mx-xl"
|
||||
>
|
||||
<qrcode-vue
|
||||
:value="
|
||||
'lightning:' +
|
||||
props.row.bolt11.toUpperCase()
|
||||
"
|
||||
:options="{width: 340}"
|
||||
class="rounded-borders"
|
||||
></qrcode-vue>
|
||||
</q-responsive>
|
||||
</a>
|
||||
></lnbits-qrcode>
|
||||
</div>
|
||||
<div class="row q-mt-lg">
|
||||
<q-btn
|
||||
|
||||
@@ -438,7 +438,7 @@
|
||||
<lnbits-qrcode
|
||||
v-else
|
||||
:href="'lightning:' + receive.paymentReq"
|
||||
:value="'lightning:' + receive.paymentReq"
|
||||
:value="'LIGHTNING:' + receive.paymentReq.toUpperCase()"
|
||||
>
|
||||
</lnbits-qrcode>
|
||||
<div class="text-center">
|
||||
|
||||
Reference in New Issue
Block a user