mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
fix
This commit is contained in:
@@ -196,8 +196,15 @@ export class EventsPage implements OnInit {
|
||||
if(Array.isArray(events)) {
|
||||
this.listToPresent = events
|
||||
this.totalEvent = this.listToPresent.length
|
||||
this.currentEvent = this.listToPresent[0].Subject
|
||||
this.currentHoursMinutes = this.listToPresent[0].StartDate
|
||||
|
||||
try {
|
||||
this.currentEvent = this.listToPresent[0].Subject
|
||||
} catch (error) {}
|
||||
|
||||
try {
|
||||
this.currentHoursMinutes = this.listToPresent[0].StartDate
|
||||
} catch (error) {}
|
||||
|
||||
}
|
||||
//
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user