diff --git a/src/back/calendar_of_events/views.py b/src/back/calendar_of_events/views.py index edbf72a6f..2086ef05f 100644 --- a/src/back/calendar_of_events/views.py +++ b/src/back/calendar_of_events/views.py @@ -17,7 +17,7 @@ class ExclusionDatesAPIView(APIView): exclude = ExclusionDates.objects.filter(exclusiondate__year=year) months = {} for i in range(1,12): - months[i] = exclude.filter(exclusiondate__month=i).values_list("exclusiondate") + months[i] = exclude.filter(exclusiondate__month=i).values_list("exclusiondate", flat=True) return Response({year:months}) diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index a6fec713f..ac29ce4b9 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -49,9 +49,8 @@ - - + + {{ drawer_right }} @@ -76,42 +75,23 @@