Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/calendar.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2022-10-18 17:24:42 +0300
committerGitHub <noreply@github.com>2022-10-18 17:24:42 +0300
commite9424f7a9a7be883f8128db12d8854004e521776 (patch)
tree2a8b45b24f64302331ae8c7c76f31943c77059cc
parenta5bc22a6926407c49093f36d70b4d03f9b8cc989 (diff)
parent5334250382703499a1c832f23a50cd321d712d8a (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.vue2
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%',