mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
improve
This commit is contained in:
@@ -73,7 +73,7 @@ export class EventListPage implements OnInit {
|
||||
let mdEventsPessoal = await this.processes.GetTasksList('Agenda Pessoal MDGPR', false).toPromise();
|
||||
|
||||
let allEvents = mdEventsOficial.concat(mdEventsPessoal);
|
||||
if(allEvents.length > 0){
|
||||
if(allEvents.length > 0) {
|
||||
this.eventsMDGPRList = this.sortService.sortArrayByDate(allEvents).reverse();
|
||||
}
|
||||
this.showLoader = false;
|
||||
@@ -83,7 +83,7 @@ export class EventListPage implements OnInit {
|
||||
let prEventsPessoal = await this.processes.GetTasksList('Agenda Pessoal PR', false).toPromise();
|
||||
let allEvents = prEventsOficial.concat(prEventsPessoal);
|
||||
|
||||
if(allEvents.length > 0){
|
||||
if(allEvents.length > 0) {
|
||||
this.eventsPRList = this.sortService.sortArrayByDate(allEvents).reverse();
|
||||
}
|
||||
this.showLoader = false;
|
||||
@@ -93,7 +93,7 @@ export class EventListPage implements OnInit {
|
||||
|
||||
async openApproveModal(eventSerialNumber, data) {
|
||||
|
||||
let a = this.eventsMDGPRList.filter((elem)=>{
|
||||
let a = this.eventsMDGPRList.filter((elem) => {
|
||||
//
|
||||
return eventSerialNumber == elem.serialNumber
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user