mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
only ask for restart on funding changes
This commit is contained in:
parent
dade3d1937
commit
eca123b3f8
1 changed files with 3 additions and 2 deletions
|
@ -437,7 +437,6 @@
|
|||
this.settings = response.data
|
||||
this.formData = _.clone(this.settings)
|
||||
this.updateFundingData()
|
||||
console.log(this.settings)
|
||||
})
|
||||
.catch(function (error) {
|
||||
LNbits.utils.notifyApiError(error)
|
||||
|
@ -455,9 +454,11 @@
|
|||
data
|
||||
)
|
||||
.then(response => {
|
||||
this.needsRestart =
|
||||
this.settings.lnbits_backend_wallet_class !==
|
||||
response.data.settings.lnbits_backend_wallet_class
|
||||
this.settings = response.data.settings
|
||||
this.formData = _.clone(this.settings)
|
||||
this.needsRestart = true
|
||||
this.updateFundingData()
|
||||
this.$q.notify({
|
||||
type: 'positive',
|
||||
|
|
Loading…
Add table
Reference in a new issue