mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Fix logout redirection
This commit is contained in:
@@ -61,9 +61,6 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
|
||||
{{ task.CreateDate }}
|
||||
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -116,10 +116,9 @@ export class ProfileComponent implements OnInit {
|
||||
// clear local storage
|
||||
window.localStorage.clear();
|
||||
|
||||
setTimeout(()=>{
|
||||
window.location.pathname = '/'
|
||||
location.reload();
|
||||
}, 1000)
|
||||
setTimeout(()=> {
|
||||
this.router.navigateByUrl('/', { replaceUrl: true });
|
||||
},100)
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user