fixe error

This commit is contained in:
Peter Maquiran
2021-05-07 13:19:50 +01:00
parent dcc436e819
commit 8ba7199ce4
5 changed files with 163 additions and 55 deletions
+8 -8
View File
@@ -936,7 +936,7 @@ export class AgendaPage implements OnInit {
}
// change header profile picture
window['header'](this.profile);
// window['header'](this.profile);
}
@@ -981,13 +981,13 @@ export class AgendaPage implements OnInit {
let postEvent: Event = data;
if (postEvent.Subject != null)
{
this.eventSource.push({
title: postEvent.Subject,
startTime: new Date(postEvent.StartDate),
endTime: new Date(postEvent.EndDate),
allDay: false,
event: postEvent
});
// this.eventSource.push({
// title: postEvent.Subject,
// startTime: new Date(postEvent.StartDate),
// endTime: new Date(postEvent.EndDate),
// allDay: false,
// event: postEvent
// });
this.myCal.update();
this.myCal.loadEvents();
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);