[events] Fixed AgendaView breakpoint
This commit is contained in:
parent
8abcd44340
commit
1f71abcd4b
|
@ -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<Agendas>({});
|
||||
const editor = ref<EditableEvent | undefined>(undefined);
|
||||
|
|
Loading…
Reference in New Issue