mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix agenda
This commit is contained in:
@@ -27,6 +27,7 @@ export class ListBoxService {
|
||||
}
|
||||
|
||||
filterSegment(eventSource: EventListStore[], segment): EventListStore[] {
|
||||
|
||||
return eventSource.filter( data => data.calendarName == segment)
|
||||
}
|
||||
|
||||
@@ -43,9 +44,9 @@ export class ListBoxService {
|
||||
// }
|
||||
|
||||
|
||||
// if(segment!='Combinado') {
|
||||
// eventSource = this.filterSegment(eventSource, segment)
|
||||
// }
|
||||
if(segment!='Combinado') {
|
||||
eventSource = this.filterSegment(eventSource, segment)
|
||||
}
|
||||
|
||||
// if(profile != 'all') {
|
||||
// eventSource = this.filterProfile(eventSource, profile)
|
||||
|
||||
@@ -528,7 +528,7 @@ export class EventsService {
|
||||
}
|
||||
|
||||
|
||||
async getEventsByCalendarId( startdate: string, enddate: string, calendarId: string) {
|
||||
async getEventsByCalendarId( startdate: string, enddate: string, calendarId: any) {
|
||||
const calendars = SessionStore.user.OwnerCalendars.concat(SessionStore.user.SharedCalendars)
|
||||
const agendasCalendars = calendars.filter( e => e.CalendarId == calendarId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user