mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Improve
This commit is contained in:
@@ -193,7 +193,7 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
this.updateEventListBox()
|
||||
|
||||
}, 1000)
|
||||
}, 2000)
|
||||
|
||||
}
|
||||
|
||||
@@ -214,8 +214,9 @@ export class AgendaPage implements OnInit {
|
||||
}
|
||||
if ( realoadCounter != 0) {
|
||||
|
||||
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
||||
|
||||
setTimeout(()=>{
|
||||
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
||||
}, 1000)
|
||||
}
|
||||
realoadCounter++;
|
||||
}
|
||||
|
||||
@@ -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