diff --git a/client/src/pages/AppointmentsPage.vue b/client/src/pages/AppointmentsPage.vue index aafdc19c..b5011f0c 100644 --- a/client/src/pages/AppointmentsPage.vue +++ b/client/src/pages/AppointmentsPage.vue @@ -91,6 +91,7 @@ const appointments = computed(() => { .allDueDates() .filter( (dueDate) => + hasDueDate(dueDate) && isMatchingCourse(dueDate) && isMatchingSession(dueDate) && isMatchingCircle(dueDate) @@ -108,6 +109,10 @@ const isMatchingCircle = (dueDate: DueDate) => const isMatchingCourse = (dueDate: DueDate) => courseSessions.value.map((cs) => cs.id).includes(dueDate.course_session_id); +const hasDueDate = (dueDate: DueDate) => { + return dueDate.start || dueDate.end; +}; + const numAppointmentsToShow = ref(7); const canLoadMore = computed(() => { return numAppointmentsToShow.value < appointments.value.length; diff --git a/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg b/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg index 71716afc..1a59a6b1 100644 --- a/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg +++ b/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg @@ -1,3 +1,5 @@ - +