remove promise bug

This commit is contained in:
Eudes Inácio
2022-12-20 17:06:19 +01:00
parent c8d62760ce
commit 111214d231
22 changed files with 128 additions and 42 deletions
+3 -1
View File
@@ -195,7 +195,9 @@ export class EventsPage implements OnInit {
if(this.loggeduser.OwnerCalendars.length >= 1) {
let onwEvent:any = await this.eventService.getAllOwnEvents(start, end)
let onwEvent:any = await this.eventService.getAllOwnEvents(start, end).catch((error) => {
console.error(error)
})
this.listToPresent = onwEvent;
this.totalEvent = onwEvent.length;
this.showLoader = false;