fix [P-294]: убран лишний код
This commit is contained in:
1 parent
8beb68289a
commit
8caff79cdb
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) {
|
||||
|
||||
Reference in new issue
Block a user