[agendaview] Fix week not loaded if window resized from 3 to 7 days
This commit is contained in:
parent
4c92fb0ff7
commit
f79823531d
|
@ -160,7 +160,7 @@ export default defineComponent({
|
|||
minutes: 0,
|
||||
hours: 0,
|
||||
});
|
||||
const start = calendarRealView.value === 'day' ? selected : startOfWeek(selected);
|
||||
const start = calendarView.value === 'day' ? selected : startOfWeek(selected);
|
||||
const end = date.addToDate(start, { days: calendarDays.value });
|
||||
|
||||
events.value = {};
|
||||
|
|
Loading…
Reference in New Issue