fix [P-294]: убран лишний код

This commit is contained in:
Inna authored and denzel committed 2026-05-29 09:15:32 +03:00
1 parent d5f62e67df
commit cd570a6c4b
1 file changed
-19
@@ -727,25 +727,6 @@ watch(
watch([safeCalendars, myCalendar], (newCalendar) => {}, { deep: true, immediate: true });
// function handleCalendarSelect(calendar) {
// if (calendar.id === 'create_new') {
// if (window.$createCalendar) {
// // Создаем слушатель события
// const handleCalendarCreated = (event) => {
// // myCalendar.value = JSON.parse(JSON.stringify(event.detail));
// propsEvent.value.event.calendar = event.detail.id;
// myCalendar.value = event.detail;
// window.removeEventListener('calendarCreated', handleCalendarCreated);
// };
// window.addEventListener('calendarCreated', handleCalendarCreated);
// window.$createCalendar();
// }
// return;
// }
// myCalendar.value = calendar;
// }
function handleCalendarSelect(calendar) {
if (calendar.id === 'create_new') {
if (window.$createCalendar) {