Agenda add functionality to change year and month

This commit is contained in:
Peter Maquiran
2021-09-03 16:37:00 +01:00
parent cc793f2f06
commit 83c6dc4cb2
3 changed files with 30 additions and 2 deletions
+2 -1
View File
@@ -156,7 +156,8 @@ export class ListBoxService {
push(event: any, selectedDate: Date) {
return new Date(event.start).getMonth() == selectedDate.getMonth()
return new Date(event.start).getMonth() == selectedDate.getMonth() &&
new Date(event.start).getFullYear() == selectedDate.getFullYear()
}
encapsulation(eventsList:EventListStore[], profile): CustomCalendarEvent[] {