mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix
This commit is contained in:
+4
-5
@@ -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
Reference in New Issue
Block a user