pull made

This commit is contained in:
Eudes Inácio
2023-02-16 15:43:15 +01:00
6 changed files with 36 additions and 17 deletions
@@ -108,7 +108,6 @@ export class BookMeetingModalPage implements OnInit {
emptyTextDescription = "Sem intervenientes selecionados";
CalendarName
CalendarOwnerName = ''
sessionStore = SessionStore;
@@ -352,12 +351,12 @@ export class BookMeetingModalPage implements OnInit {
selectedCalendarId () {
if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Oficial'] && this.postData.CalendarName == 'Oficial') {
return this.calendarService.calendarNamesType[this.CalendarOwnerName]['OficialId']
if (this.calendarService.calendarNamesType[this.CalendarName]?.['Oficial'] && this.postData.CalendarName == 'Oficial') {
return this.calendarService.calendarNamesType[this.CalendarName]['OficialId']
} else if (this.calendarService.calendarNamesType[this.CalendarOwnerName]?.['Pessoal'] && this.postData.CalendarName == 'Pessoal') {
} else if (this.calendarService.calendarNamesType[this.CalendarName]?.['Pessoal'] && this.postData.CalendarName == 'Pessoal') {
return this.calendarService.calendarNamesType[this.CalendarOwnerName]['PessoalId']
return this.calendarService.calendarNamesType[this.CalendarName]['PessoalId']
} else {
return '11:11'