mirror of https://github.com/nextcloud/calendar
Only add title to event order when we're using the week-view
Closes #4443 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a5bc22a692
commit
5334250382
|
@ -131,7 +131,7 @@ export default {
|
|||
eventDidMount,
|
||||
noEventsDidMount,
|
||||
// FIXME: remove title if upstream is fixed (https://github.com/fullcalendar/fullcalendar/issues/6608#issuecomment-954241059)
|
||||
eventOrder: ['title', 'start', '-duration', 'allDay', eventOrder],
|
||||
eventOrder: (this.$route.params.view === 'timeGridWeek' ? ['title'] : []).concat(['start', '-duration', 'allDay', eventOrder]),
|
||||
forceEventDuration: false,
|
||||
headerToolbar: false,
|
||||
height: '100%',
|
||||
|
|
Loading…
Reference in New Issue