mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
improve
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user