mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
add endpoint to get sharedCalendar
This commit is contained in:
@@ -185,9 +185,19 @@ export class AgendaPage implements OnInit {
|
||||
public ThemeService: ThemeService,
|
||||
public p: PermissionService,
|
||||
public RoleIdService: RoleIdService,
|
||||
public AgendaDataRepositoryService: AgendaDataRepositoryService
|
||||
public AgendaDataRepositoryService: AgendaDataRepositoryService,
|
||||
) {
|
||||
|
||||
(async () => {
|
||||
const result = await this.AgendaDataRepositoryService.getSharedCalendar()
|
||||
|
||||
if(result.isOk()) {
|
||||
console.log('111', result)
|
||||
} else {
|
||||
console.log('error')
|
||||
}
|
||||
})()
|
||||
|
||||
this.dateAdapter.setLocale('es');
|
||||
this.locale = 'pt'
|
||||
|
||||
@@ -779,7 +789,6 @@ export class AgendaPage implements OnInit {
|
||||
const selectedCalendarIds = this.removeDuplicatesByOwnerUserId(this.getSelectedAgendaCalendars());
|
||||
this.listToPresent = this.CalendarStore.getEventsByCalendarIds(selectedCalendarIds)
|
||||
|
||||
console.log('this.listToPresent', JSON.stringify(this.listToPresent) )
|
||||
const year = this.listBoxService.list(this.listToPresent, 'md', this.rangeStartDate, this.rangeEndDate, { segment: this.segment, selectedDate: this.eventSelectedDate })
|
||||
this.TimelineMDList = year
|
||||
|
||||
|
||||
Reference in New Issue
Block a user