1
0
forked from PGL/Clyde

Merge branch 'Max/Backend/GetUserById' into wal/front/listingUsers

This commit is contained in:
2024-03-17 22:00:56 +01:00
5 changed files with 18 additions and 7 deletions

View File

@ -12,11 +12,7 @@ window.onhashchange = function() {
prevURL = currentURL;
currentURL = window.location.hash;
}
console.log(location)
window.addEventListener('hashchange', () => {
console.log(prevURL)
console.log(location.hash)
console.log(isLogged())
if(location.hash === "#/home" && prevURL === "#/login"){
window.location.reload();
}