This commit is contained in:
tiago.kayaya
2021-07-27 10:42:48 +01:00
5 changed files with 20 additions and 15 deletions
@@ -115,7 +115,13 @@ export class ProfileComponent implements OnInit {
logout() {
// clear local storage
window.localStorage.clear();
window.location.pathname = '/'
setTimeout(()=>{
window.location.pathname = '/'
location.reload();
}, 1000)
}
LoginPreferenceMethod(type: string) {