fix: export qrcode was undefined (#3689)

This commit is contained in:
dni ⚡
2025-12-29 19:45:15 +01:00
committed by GitHub
parent d985bdaadb
commit bc55474859
3 changed files with 6 additions and 7 deletions
File diff suppressed because one or more lines are too long
@@ -1,9 +1,10 @@
window.app.component('lnbits-wallet-extra', {
template: '#lnbits-wallet-extra',
mixins: [window.windowMixin],
props: ['chartConfig'],
data() {
return {}
computed: {
exportUrl() {
return `${window.location.origin}/wallet?usr=${this.g.user.id}&wal=${this.g.wallet.id}`
}
},
methods: {
handleSendLnurl(lnurl) {
@@ -83,9 +83,7 @@
class="text-center"
v-text="$t('export_to_phone_desc')"
></p>
<lnbits-qrcode
:value="`${baseUrl}wallet?usr=${g.user.id}&wal=${g.wallet.id}`"
></lnbits-qrcode>
<lnbits-qrcode :value="exportUrl"></lnbits-qrcode>
</q-card-section>
</q-card>
</q-expansion-item>