This commit is contained in:
Peter Maquiran
2022-05-30 16:43:54 +01:00
parent 8f11b87457
commit 7430bf7fe1
2 changed files with 16 additions and 11 deletions
@@ -152,7 +152,11 @@ export class NewEventPage implements OnInit {
ngOnInit() {
this.CalendarName = this.loggeduser.Profile;
if(!this.CalendarName) {
this.CalendarName = this.loggeduser.Profile;
}
this.getRecurrenceTypes();
if(!this.restoreTemporaryData()){
@@ -574,7 +578,8 @@ export class NewEventPage implements OnInit {
window['temp.path:/home/agenda/new-event.component.ts'] = {
postEvent: this.postEvent,
eventBody: this.eventBody,
segment: this.segment
segment: this.segment,
CalendarName: this.CalendarName
}
}
@@ -591,6 +596,7 @@ export class NewEventPage implements OnInit {
this.postEvent = restoredData.postEvent
this.eventBody = restoredData.eventBody
this.segment = restoredData.segment
this.CalendarName = restoredData.CalendarName
// restore dater for date and hours picker