fix(web): websocket reconnect (#7234)

* fix(web): websocket reconnect

* reset store after navigation completes

* remove loggedOut check
This commit is contained in:
Michel Heusschen 2024-02-20 15:20:09 +01:00 committed by GitHub
parent 7f5459f050
commit e7a875eadd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 21 deletions

View file

@ -29,13 +29,13 @@
}>();
const logOut = async () => {
resetSavedUser();
const { redirectUri } = await logout();
if (redirectUri.startsWith('/')) {
goto(redirectUri);
await goto(redirectUri);
} else {
window.location.href = redirectUri;
}
resetSavedUser();
};
</script>