This commit is contained in:
Peter Maquiran
2021-07-16 16:48:44 +01:00
parent 175d7b8a0c
commit 5f500b4a4a
3 changed files with 69 additions and 60 deletions
@@ -24,6 +24,8 @@ export class EventListPage implements OnInit {
categories: string[];
serialnumber:string;
skeletonLoader = true
constructor(
private processes:ProcessesService,
@@ -61,6 +63,8 @@ export class EventListPage implements OnInit {
async LoadToApproveEvents(){
this.showLoader = true;
this.skeletonLoader = true
console.log(this.segment);
if(this.segment == 'MDGPR'){
let mdEventsOficial = await this.processes.GetTasksList('Agenda Oficial MDGPR', false).toPromise();
@@ -73,6 +77,7 @@ export class EventListPage implements OnInit {
this.eventsPRList = prEventsOficial.concat(prEventsPessoal);
}
this.showLoader = false;
this.skeletonLoader = false
}
async openApproveModal(eventSerialNumber, event){