feat: dont reset superuser on delete settings endpoint (#3065)

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Arc
2025-05-13 12:52:59 +03:00
committed by GitHub
co-authored by dni ⚡
parent f74fcea35b
commit 7bea591879
4 changed files with 23 additions and 5 deletions
+2 -2
View File
@@ -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)
})