mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix bugs
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user