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', { window.app.component('lnbits-wallet-extra', {
template: '#lnbits-wallet-extra', template: '#lnbits-wallet-extra',
mixins: [window.windowMixin],
props: ['chartConfig'], props: ['chartConfig'],
data() { computed: {
return {} exportUrl() {
return `${window.location.origin}/wallet?usr=${this.g.user.id}&wal=${this.g.wallet.id}`
}
}, },
methods: { methods: {
handleSendLnurl(lnurl) { handleSendLnurl(lnurl) {
@@ -83,9 +83,7 @@
class="text-center" class="text-center"
v-text="$t('export_to_phone_desc')" v-text="$t('export_to_phone_desc')"
></p> ></p>
<lnbits-qrcode <lnbits-qrcode :value="exportUrl"></lnbits-qrcode>
:value="`${baseUrl}wallet?usr=${g.user.id}&wal=${g.wallet.id}`"
></lnbits-qrcode>
</q-card-section> </q-card-section>
</q-card> </q-card>
</q-expansion-item> </q-expansion-item>