diff --git a/lnbits/core/templates/admin/_tab_funding.html b/lnbits/core/templates/admin/_tab_funding.html index 6ceefc82d..9a154f5c5 100644 --- a/lnbits/core/templates/admin/_tab_funding.html +++ b/lnbits/core/templates/admin/_tab_funding.html @@ -47,7 +47,8 @@

Invoice Expiry

diff --git a/lnbits/core/templates/admin/index.html b/lnbits/core/templates/admin/index.html index 2943731a2..48c7c95d8 100644 --- a/lnbits/core/templates/admin/index.html +++ b/lnbits/core/templates/admin/index.html @@ -376,7 +376,7 @@ ]) } }, - created: function () { + created() { this.getSettings() this.getAudit() this.balance = +'{{ balance|safe }}' @@ -593,7 +593,7 @@ .then(response => { this.isSuperUser = response.data.is_super_user || false this.settings = response.data - this.formData = _.clone(this.settings) + this.formData = {...this.settings} this.updateFundingData() this.getNotifications() }) @@ -624,7 +624,9 @@ this.updateFundingData() this.$q.notify({ type: 'positive', - message: 'Success! Settings changed!', + message: `Success! Settings changed! ${ + this.needsRestart ? 'Restart required!' : '' + }`, icon: null }) })