correction in choosing event type

This commit is contained in:
EQUILIBRIUM\hirondino.van-dunem
2022-06-24 15:02:49 +01:00
parent 91ce5eeebc
commit e45dd4d33c
3 changed files with 6 additions and 6 deletions
@@ -334,10 +334,10 @@ export class BookMeetingModalPage implements OnInit {
selectedCalendarId () {
if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Oficial']) {
if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Oficial'] && this.postData.CalendarName == 'Oficial') {
return this.calendarService.calendarNamesType[this.CalendarOwnerName]['OficialId']
} else if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Pessoal']) {
} else if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Pessoal'] && this.postData.CalendarName == 'Pessoal') {
return this.calendarService.calendarNamesType[this.CalendarOwnerName]['PessoalId']