mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
fix: remove de-selected wallet
This commit is contained in:
parent
b9986b562a
commit
69c0b753f5
1 changed files with 4 additions and 2 deletions
|
@ -409,7 +409,7 @@
|
|||
balance: null,
|
||||
walletLinks: [],
|
||||
chargeLinks: [],
|
||||
onchainwallet: '',
|
||||
onchainwallet: null,
|
||||
rescanning: false,
|
||||
mempool: {
|
||||
endpoint: ''
|
||||
|
@ -505,6 +505,7 @@
|
|||
methods: {
|
||||
cancelCharge: function (data) {
|
||||
this.formDialogCharge.data.description = ''
|
||||
this.formDialogCharge.data.onchain = false
|
||||
this.formDialogCharge.data.onchainwallet = ''
|
||||
this.formDialogCharge.data.lnbitswallet = ''
|
||||
this.formDialogCharge.data.time = null
|
||||
|
@ -577,7 +578,8 @@
|
|||
const data = this.formDialogCharge.data
|
||||
data.amount = parseInt(data.amount)
|
||||
data.time = parseInt(data.time)
|
||||
data.onchainwallet = this.onchainwallet?.id
|
||||
data.lnbitswallet = data.lnbits ? this.lnbitswallet : null
|
||||
data.onchainwallet = data.onchain ? this.onchainwallet?.id : null
|
||||
this.createCharge(wallet, data)
|
||||
},
|
||||
refreshActiveChargesBalance: async function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue