Ensure this is purely a reload
This commit is contained in:
parent
c5c8a2f0cf
commit
d95fbf204d
@ -1337,7 +1337,9 @@ single.getRoute("/webui/cheats").on("beforeload", function () {
|
||||
} else {
|
||||
if ((await res.text()) == "Log-in expired") {
|
||||
revalidateAuthz(() => {
|
||||
single.loadRoute("/webui/cheats");
|
||||
if (single.getCurrentPath() == "/webui/cheats") {
|
||||
single.loadRoute("/webui/cheats");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$("#server-settings-no-perms").removeClass("d-none");
|
||||
|
Loading…
x
Reference in New Issue
Block a user