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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user