What changed, and why it matters
This commit simply swaps the labels and actions of two buttons on the wallet page. The 'Receive' button now correctly opens the receive dialog and checks whether receiving is allowed, while the 'Send' button now correctly opens the send/parse dialog and checks whether sending is allowed. It is a UI bug fix with no security relevance.
No security action needed. Treat as a routine UI/UX bug fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In lnbits/templates/pages/wallet.vue, two adjacent
Changed components
lnbits/templates/pages/wallet.vueInspect captured patch +4 / −4
diff --git a/lnbits/templates/pages/wallet.vue b/lnbits/templates/pages/wallet.vue
index 0fcb997..e492d9e 100644
--- a/lnbits/templates/pages/wallet.vue
+++ b/lnbits/templates/pages/wallet.vue
@@ -133,17 +133,17 @@
unelevated
color="primary"
class="q-mr-md"
- @click="showParseDialog"
- :disable="!this.g.wallet.canSendPayments"
+ @click="showReceiveDialog"
:label="$t('receive')"
+ :disable="!this.g.wallet.canReceivePayments"
icon="file_download"
></q-btn>
<q-btn
unelevated
color="primary"
class="q-mr-md"
- @click="showReceiveDialog"
- :disable="!this.g.wallet.canReceivePayments"
+ @click="showParseDialog"
+ :disable="!this.g.wallet.canSendPayments"
:label="$t('send')"
icon="file_upload"
></q-btn>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.