feat: add negative topups (#2835)

* feat: add negative topups
* remove topup dialog

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
dni ⚡
2024-12-17 21:06:58 +01:00
committed by GitHub
co-authored by Vlad Stan
parent 368da935db
commit 37187bfc2c
20 changed files with 121 additions and 145 deletions
+3 -1
View File
@@ -51,7 +51,6 @@ window.app = Vue.createApp({
balance: parseInt(wallet.balance_msat / 1000),
fiatBalance: 0,
mobileSimple: false,
credit: 0,
update: {
name: null,
currency: null
@@ -151,6 +150,9 @@ window.app = Vue.createApp({
this.receive.paymentHash = null
}
},
handleBalanceUpdate(value) {
this.balance = this.balance + value
},
createInvoice() {
this.receive.status = 'loading'
if (LNBITS_DENOMINATION != 'sats') {