This commit is contained in:
Peter Maquiran
2022-12-30 14:31:19 +01:00
parent 88d948c5e0
commit e5b7032a18
11 changed files with 75 additions and 29 deletions
@@ -136,11 +136,13 @@ export class NewEventPage implements OnInit {
}
ngOnInit() {
// this.roundTimeQuarterHour();
if(!this.CalendarName) {
this.CalendarName = this.loggeduser.Profile;
if(this.eventService.calendarNamesAry.includes('Meu calendario')) {
this.CalendarName = 'Meu calendario';
} else if(this.eventService.calendarNamesAry.length == 1 ) {
this.CalendarName = this.eventService.calendarNamesAry[0]
}
}
this.getRecurrenceTypes();