This commit is contained in:
Peter Maquiran
2023-02-16 11:58:22 +01:00
parent 940d2532af
commit 190e98fab7
2 changed files with 11 additions and 12 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'
File diff suppressed because one or more lines are too long