fix [P-294]: убран лишний код
This commit is contained in:
1 parent
8595b3e75b
commit
8355e62d4e
1 file changed
-19
@@ -727,25 +727,6 @@ watch(
|
|||||||
|
|
||||||
watch([safeCalendars, myCalendar], (newCalendar) => {}, { deep: true, immediate: true });
|
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) {
|
function handleCalendarSelect(calendar) {
|
||||||
if (calendar.id === 'create_new') {
|
if (calendar.id === 'create_new') {
|
||||||
if (window.$createCalendar) {
|
if (window.$createCalendar) {
|
||||||
|
|||||||
Reference in new issue
Block a user