Merge branch 'Max/Backend/GetUserById' into wal/front/listingUsers
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user