Fix order
This commit is contained in:
parent
7a7321f69d
commit
80c278ca99
@ -213,9 +213,9 @@ async function logout() {
|
||||
|
||||
doAction('/account', data, "Logout Successful!", "Logout failed.")
|
||||
.then(async () => {
|
||||
localStorage.clear();
|
||||
await refreshNavbar();
|
||||
await navigateTo(localStorage.getItem("defaultSite"), localStorage.getItem("defaultPage"));
|
||||
localStorage.clear();
|
||||
umami.track("logout");
|
||||
})
|
||||
.catch((error) => {
|
||||
|
Loading…
Reference in New Issue
Block a user