From 5a9fa50127a0aa5b2dce67dde32c569f1427c24a Mon Sep 17 00:00:00 2001
From: iriska-gri <79623434+iriska-gri@users.noreply.github.com>
Date: Thu, 30 May 2024 12:47:00 +0300
Subject: [PATCH] =?UTF-8?q?P-42=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?=
=?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BB=D1=8E=D0=B4=D0=B5=D0=B9=20?=
=?UTF-8?q?=D0=B8=D0=B7=20=D0=BE=D1=82=D0=B4=D0=B5=D0=BB=D0=BE=D0=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/back/calendar_of_events/views.py | 2 +-
.../calendar_of_events/BigCalendar.vue | 60 +++----
.../calendar-create-select.vue | 146 ++++++++++--------
src/front/src/store/WeekendsStore.js | 28 ++--
4 files changed, 117 insertions(+), 119 deletions(-)
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 @@