feat: dont reset superuser on delete settings endpoint (#3065)
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
@@ -546,10 +546,10 @@ window.AdminPageLogic = {
|
||||
Quasar.Notify.create({
|
||||
type: 'positive',
|
||||
message:
|
||||
'Success! Restored settings to defaults, restart required!',
|
||||
'Success! Restored settings to defaults. Restarting...',
|
||||
icon: null
|
||||
})
|
||||
this.needsRestart = true
|
||||
this.$q.localStorage.clear()
|
||||
})
|
||||
.catch(LNbits.utils.notifyApiError)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user