needs restart after saving killswitch (#1800)

fix prettier
This commit is contained in:
dni ⚡ 2023-07-03 16:52:33 +02:00 committed by GitHub
parent 6aaa46e5a0
commit e13426a56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()