Replaces QR code implementation with lnbits-qrcode
Replaces the generic QR code generation with the lnbits-qrcode component. This simplifies the code and utilizes a component specifically designed for LNbits applications. Removes the input field for the invoice string as it is no longer necessary.
This commit is contained in:
parent
af424109f1
commit
8a961e1331
1 changed files with 3 additions and 24 deletions
|
|
@ -1181,31 +1181,10 @@
|
||||||
|
|
||||||
<div class="text-center q-mb-md">
|
<div class="text-center q-mb-md">
|
||||||
<div class="text-subtitle2 q-mb-sm">Lightning Invoice Generated</div>
|
<div class="text-subtitle2 q-mb-sm">Lightning Invoice Generated</div>
|
||||||
<qrcode-vue
|
<lnbits-qrcode
|
||||||
:value="settleReceivableDialog.invoice"
|
:value="settleReceivableDialog.invoice"
|
||||||
:size="280"
|
:options="{width: 280}"
|
||||||
level="M"
|
></lnbits-qrcode>
|
||||||
class="q-mb-md"
|
|
||||||
></qrcode-vue>
|
|
||||||
|
|
||||||
<q-input
|
|
||||||
filled
|
|
||||||
dense
|
|
||||||
readonly
|
|
||||||
v-model="settleReceivableDialog.invoice"
|
|
||||||
label="Invoice"
|
|
||||||
>
|
|
||||||
<template v-slot:append>
|
|
||||||
<q-btn
|
|
||||||
flat
|
|
||||||
dense
|
|
||||||
icon="content_copy"
|
|
||||||
@click="copyToClipboard(settleReceivableDialog.invoice)"
|
|
||||||
>
|
|
||||||
<q-tooltip>Copy invoice</q-tooltip>
|
|
||||||
</q-btn>
|
|
||||||
</template>
|
|
||||||
</q-input>
|
|
||||||
|
|
||||||
<div class="text-caption text-grey q-mt-sm">
|
<div class="text-caption text-grey q-mt-sm">
|
||||||
Waiting for payment...
|
Waiting for payment...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue