This commit is contained in:
Peter Maquiran
2022-12-20 17:14:23 +01:00
parent be617c0fe3
commit 5652043b8a
22 changed files with 285 additions and 234 deletions
@@ -104,7 +104,7 @@ export class EventListPage implements OnInit {
})
this.sqliteservice.getListOfEventAprove('Agenda Oficial PR', 'Agenda Pessoal PR').then((event: any[]) => {
this.sqliteservice.getListOfEventAprove('Agenda Oficial PR', 'Agenda Pessoal PR').then((event: any[] = []) => {
this.eventsPRList = this.sortService.sortDate(this.transformaDataDB(event), 'taskStartDate')
})
@@ -116,7 +116,7 @@ export class EventListPage implements OnInit {
}
transformaDataDB(events) {
transformaDataDB(events = []) {
let MdEventsArray = [];
for (let i of events) {
let eventMD = {