diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue
index a7454c646..20b9038d7 100644
--- a/src/front/src/components/calendar_of_events/BigCalendar.vue
+++ b/src/front/src/components/calendar_of_events/BigCalendar.vue
@@ -129,6 +129,7 @@ export default {
};
const getCalendar = () => {
+
axiosApiInstance
.get(`api/calendar_of_events/my_calendars/`)
.then((res) => {
diff --git a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
index d4cddb8bd..6589f8acf 100644
--- a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
+++ b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
@@ -1,5 +1,5 @@
-
+
{{ title }}
-
-
-
-
-
+
+
+
+
+
- Отменить
+ Отменить
-
-
- {{
- newOrOld? "Создать" : "Редактировать"
- }}
-
-
+
+ {{ newOrOld ? "Создать" : "Редактировать" }}
+
+
-
@@ -186,25 +60,21 @@ export default {
},
newOrOld: {
- type: Boolean,
- default: false,
- }
-
+ type: Boolean,
+ default: false,
+ },
},
- setup(props, {emit}) {
+ setup(props, { emit }) {
const form_valid = ref(null);
const transformation = () => {
- emit("postData", form_valid.value)
- }
-
+ emit("postData", form_valid.value.isValid);
+ };
return {
- form_valid,
- transformation
-
- }
-
+ form_valid,
+ transformation,
+ };
},
};
diff --git a/src/front/src/components/calendar_of_events/calendar-create-select.vue b/src/front/src/components/calendar_of_events/calendar-create-select.vue
index ff8045287..31d041164 100644
--- a/src/front/src/components/calendar_of_events/calendar-create-select.vue
+++ b/src/front/src/components/calendar_of_events/calendar-create-select.vue
@@ -1,4 +1,8 @@
+
+
-
-
{{ item.title }}
+
{{ x.title }}
@@ -91,60 +100,32 @@