@@ -117,7 +115,7 @@ export default defineComponent({
type: formData.type.value,
color: formData.color.value,
nscdr: formData.nscdr.checked,
- passphrase: formData.passphrase?.value,
+ passphrase: formData.passphrase.value,
};
this.status = "loading";
this.updateActiveCalendarType(updateCalendarType)
diff --git a/src/views/public/calendar/Calendar.vue b/src/views/public/calendar/Calendar.vue
index 956a34d..0cc8d9d 100644
--- a/src/views/public/calendar/Calendar.vue
+++ b/src/views/public/calendar/Calendar.vue
@@ -73,7 +73,6 @@ export default defineComponent({
weekText: "KW",
allDaySlot: false,
events: this.formattedItems,
- eventClick: this.eventClick,
};
},
},
@@ -93,12 +92,6 @@ export default defineComponent({
openLinkModal(e: any) {
this.openModal(markRaw(defineAsyncComponent(() => import("@/components/public/calendar/CalendarLinkModal.vue"))));
},
- eventClick(e: any) {
- this.openModal(
- markRaw(defineAsyncComponent(() => import("@/components/public/calendar/ShowCalendarEntryModal.vue"))),
- this.calendars.find((c) => c.id == e.event.id)
- );
- },
},
});