mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -270,7 +270,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(otherbody).toPromise()
|
||||
await this.processes.CompleteTask(otherbody)
|
||||
this.toastService.successMessage('Processo descartado');
|
||||
this.goBack();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user