mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
improve setup meeting from task
This commit is contained in:
@@ -6,8 +6,6 @@ import { EventMapper } from '../../domain/mapper/EventDetailsMapper';
|
||||
import { Event } from 'src/app/models/event.model';
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { EventListToApproveMapper } from '../../domain/mapper/eventToApproveListMapper';
|
||||
import { err, ok } from 'neverthrow';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { EventToApproveDetailsMapper } from '../../domain/mapper/EventToApproveDetailsMapper';
|
||||
import { AgendaLocalDataSourceService, TableSharedCalendar } from '../data-source/agenda-local-data-source.service';
|
||||
import { EEventFilterStatus } from '../dto/enums';
|
||||
@@ -19,10 +17,10 @@ import { EventUpdateInputDTOSchema } from '../dto/eventUpdateInputDtO';
|
||||
import { AttachInputDTOSchema } from '../dto/addAttachmentDTOInput';
|
||||
import { EventListDataOutputDTOSchema } from '../dto/eventListDTOOutput';
|
||||
import { EventSearchMapper } from '../../domain/mapper/EventSearchMapper';
|
||||
import { select, Store } from '@ngrx/store';
|
||||
import { CalendarState, pushEvent, removeRangeForCalendar, selectEventsInRange } from '../data-source/agenda-memory-source.service';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { CalendarState } from '../data-source/agenda-memory-source.service';
|
||||
import { NativeNotificationService } from 'src/app/services/native-notification.service';
|
||||
import { ListBoxService } from 'src/app/services/agenda/list-box.service';
|
||||
import { ListBoxService } from 'src/app/ui/agenda/service/list-box.service';
|
||||
import { EventListStore } from 'src/app/models/agenda/AgendaEventList';
|
||||
import { AttendeeInputDTOSchema } from '../dto/attendeeInputDTO';
|
||||
import { EventInputDTOSchema } from '../dto/eventInputDTO';
|
||||
|
||||
@@ -12,19 +12,19 @@ export class Utils {
|
||||
) { }
|
||||
|
||||
|
||||
selectedCalendarUserId(CalendarName, postEvent) {
|
||||
// selectedCalendarUserId(CalendarName, postEvent) {
|
||||
|
||||
if (this.eventService.calendarNamesType[CalendarName]?.['Oficial'] && postEvent.CalendarName == 'Oficial') {
|
||||
return this.eventService.calendarNamesType[CalendarName]['OwnerId']
|
||||
// if (this.eventService.calendarNamesType[CalendarName]?.['Oficial'] && postEvent.CalendarName == 'Oficial') {
|
||||
// return this.eventService.calendarNamesType[CalendarName]['OwnerId']
|
||||
|
||||
} else if (this.eventService.calendarNamesType[CalendarName]?.['Pessoal'] && postEvent.CalendarName == 'Pessoal') {
|
||||
// } else if (this.eventService.calendarNamesType[CalendarName]?.['Pessoal'] && postEvent.CalendarName == 'Pessoal') {
|
||||
|
||||
return this.eventService.calendarNamesType[CalendarName]['OwnerId']
|
||||
// return this.eventService.calendarNamesType[CalendarName]['OwnerId']
|
||||
|
||||
} else {
|
||||
return '11:11'
|
||||
}
|
||||
}
|
||||
// } else {
|
||||
// return '11:11'
|
||||
// }
|
||||
// }
|
||||
|
||||
selectedCalendarOwner(roleDescription) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user