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
+1
View File
@@ -967,6 +967,7 @@ export class AgendaPage implements OnInit {
responseArray.push(event)
});
this.storage.set('agendaResponse',responseArray).then(() => {
})
@@ -104,10 +104,12 @@ export class NewEventPage implements OnInit {
this.taskParticipants = this.navParams.get('attendees');
if(this.eventService.calendarNamesAry.includes('Meu calendario')) {
this.CalendarName = 'Meu calendario'
} else {
this.CalendarName = this.eventService.calendarNamesAry[0]
if(!this.CalendarName) {
if(this.eventService.calendarNamesAry.includes('Meu calendario')) {
this.CalendarName = 'Meu calendario';
} else if(this.eventService.calendarNamesAry.length == 1 ) {
this.CalendarName = this.eventService.calendarNamesAry[0]
}
}
}