mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Improve
This commit is contained in:
@@ -111,14 +111,16 @@ export class ViewEventPage implements OnInit {
|
||||
if(this.isModal) {
|
||||
this.close()
|
||||
} else {
|
||||
this.activatedRoute.paramMap.subscribe(params => {
|
||||
if(params["params"].caller == 'expediente'){
|
||||
window.history.back();
|
||||
}
|
||||
else{
|
||||
this.router.navigate(['/home',params["params"].caller]);
|
||||
}
|
||||
});
|
||||
// this.activatedRoute.paramMap.subscribe(params => {
|
||||
// if(params["params"].caller == 'expediente'){
|
||||
// window.history.back();
|
||||
// }
|
||||
// else{
|
||||
// this.router.navigate(['/home',params["params"].caller]);
|
||||
// }
|
||||
// });
|
||||
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user