Skip to content

Commit

Permalink
needs restart after saving killswitch (lnbits#1800)
Browse files Browse the repository at this point in the history
fix prettier
  • Loading branch information
dni authored Jul 3, 2023
1 parent 6aaa46e commit e13426a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lnbits/core/templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,9 @@
.then(response => {
this.needsRestart =
this.settings.lnbits_backend_wallet_class !==
this.formData.lnbits_backend_wallet_class
this.formData.lnbits_backend_wallet_class ||
this.settings.lnbits_killswitch !==
this.formData.lnbits_killswitch
this.settings = this.formData
this.formData = _.clone(this.settings)
this.updateFundingData()
Expand Down

0 comments on commit e13426a

Please sign in to comment.