diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-10-18 17:24:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 17:24:42 +0300 |
commit | e9424f7a9a7be883f8128db12d8854004e521776 (patch) | |
tree | 2a8b45b24f64302331ae8c7c76f31943c77059cc | |
parent | a5bc22a6926407c49093f36d70b4d03f9b8cc989 (diff) | |
parent | 5334250382703499a1c832f23a50cd321d712d8a (diff) |
Merge pull request #4646 from nextcloud/fix-event-order
Only add title to event order when we're using the week-view
-rw-r--r-- | src/components/CalendarGrid.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/CalendarGrid.vue b/src/components/CalendarGrid.vue index 11e5dda2..de217eee 100644 --- a/src/components/CalendarGrid.vue +++ b/src/components/CalendarGrid.vue @@ -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%', |