remove console log

This commit is contained in:
Peter Maquiran
2023-02-27 18:34:42 +01:00
parent 1957853678
commit 79213a543b
4 changed files with 14 additions and 14 deletions
+5 -5
View File
@@ -156,6 +156,7 @@ export class EventsPage implements OnInit {
let end = date.getFullYear() + "-" + month + "-" + date.getDate() + " 23:59:59";
if(SessionStore.user) {
let onwEvent:any = await this.eventService.getAllOwnEvents(start, end).catch((error) => {
this.showLoader = false;
this.showAgendaLoader = false;
console.error(error)
})
@@ -163,12 +164,11 @@ export class EventsPage implements OnInit {
if(onwEvent?.length) {
this.totalEvent = onwEvent.length;
}
this.showLoader = false;
this.showAgendaLoader = false;
} else {
}
}
this.showLoader = false;
this.showAgendaLoader = false;
}
addEventToDb(list) {