diff --git a/src/views/admin/club/newsletter/NewsletterDates.vue b/src/views/admin/club/newsletter/NewsletterDates.vue index 0434655..cbc9414 100644 --- a/src/views/admin/club/newsletter/NewsletterDates.vue +++ b/src/views/admin/club/newsletter/NewsletterDates.vue @@ -75,7 +75,6 @@ @@ -124,7 +125,9 @@ export default defineComponent({ ...mapState(useCalendarStore, ["calendars"]), ...mapState(useAbilityStore, ["can"]), filteredCalendar() { - return this.calendars.filter((c) => !this.dates.map((d) => d.calendarId).includes(c.id)); + return this.calendars.filter( + (c) => !this.dates.map((d) => d.calendarId).includes(c.id) && new Date(c.starttime) >= new Date() + ); }, sortedDates() { return this.dates.sort( diff --git a/src/views/admin/club/newsletter/NewsletterPrintout.vue b/src/views/admin/club/newsletter/NewsletterPrintout.vue index 84a0a1c..0499e1a 100644 --- a/src/views/admin/club/newsletter/NewsletterPrintout.vue +++ b/src/views/admin/club/newsletter/NewsletterPrintout.vue @@ -10,7 +10,7 @@

{{ print }}

-
+
@@ -25,7 +25,7 @@