From 1f71abcd4bcb3ff423ce6adc4dd4ac2e22e6b5af Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 1 Apr 2021 03:15:06 +0200 Subject: [PATCH] [events] Fixed AgendaView breakpoint --- src/plugins/events/components/overview/AgendaView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/events/components/overview/AgendaView.vue b/src/plugins/events/components/overview/AgendaView.vue index 2beb5f0..2389d96 100644 --- a/src/plugins/events/components/overview/AgendaView.vue +++ b/src/plugins/events/components/overview/AgendaView.vue @@ -133,8 +133,8 @@ export default defineComponent({ const calendarRealView = computed(() => (calendarDays.value != 7 ? 'day' : 'week')); const calendarDays = computed(() => - // <= 1023 is the breakpoint for sm to md - calendarView.value == 'day' ? 1 : windowWidth.value <= 1023 ? 3 : 7 + // <= 1023 is the breakpoint for md + calendarView.value == 'day' ? 1 : windowWidth.value <= 1439 ? 3 : 7 ); const events = ref({}); const editor = ref(undefined);