This commit is contained in:
tiago.kayaya
2021-04-08 21:03:42 +01:00
parent 51cf7b7598
commit a1ecd1e4a6
4 changed files with 16 additions and 24 deletions
@@ -33,8 +33,8 @@ export class GabineteDigitalPage implements OnInit {
showExpediente : false
}
showEventsToApprove = false;
showEmptyContainer = true;
showExpedients = false;
showEmptyContainer = false;
showExpedients = true;
showExpedientDetail = false;
emptyTextDescription = 'Sem opção selecionada';
@@ -58,23 +58,13 @@ export class GabineteDigitalPage implements OnInit {
this.adjastModalHeight();
/* this.activatedRoute.queryParams.subscribe(params => {
this.activatedRoute.queryParams.subscribe(params => {
if(params["show"]){
this.openExpedientListPage();
}
else if(params["events-to-approve"]){
else if(params["events"]){
this.openEventsToApprovePage("MDGPR");
}
}); */
this.activatedRoute.paramMap.subscribe(paramMap =>{
if (paramMap.has("show")){
this.openExpedientListPage();
}
else if(paramMap.has("events")){
this.openEventsToApprovePage("MDGPR");
this.LoadCounts();
}
});
}
@@ -161,7 +151,7 @@ this.processesbackend.GetActionsList().subscribe(res=>{
doRefresh(event) {
this.closeAllDesktopComponents();
this.showEmptyContainer = true;
this.showExpedients = true;
this.LoadCounts();
setTimeout(() => {