diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-10-19 00:25:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 00:25:54 +0300 |
commit | ffa1fe1597468fe1c6ec1d6478e8dc41d8e6fdb7 (patch) | |
tree | e13a222972eecd313656f8969de5d3c9e883807e | |
parent | 5808a6eacb102f2e04e82b3684971ca2cc4c3afe (diff) | |
parent | 3eaf48519f228a193dbbe048e8ac230dc54ba4f8 (diff) |
Merge pull request #4648 from nextcloud/backport/4646/stable3.5
[stable3.5] 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 dfc6265f..ab34e602 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%', |