fix: admin/options: after making self-signed cert, the stale error stayed until page-change/reload
Massimo Melina committed
Jun 21, 2025 at 11:30 UTC
9e3052863904a9f40ec6652cbfea9b46481669e8
1 file changed
+1
admin/src/OptionsPage.ts
+1
@@ -418,6 +418,7 @@ export async function suggestMakingCert() {
418
if (loaded) // when undefined we are not in this page
419
Object.assign(loaded, saved)
420
setTimeout(exposedReloadStatus!, 1000) // give some time for backend to apply
421
+ setTimeout(exposedReloadStatus!, 2000) // try again in case it's very slow
422
Object.assign(state.config, saved)
423
alertDialog("Certificate saved", 'success')
424
}