diff --git a/src/components/AppNavigation/CalendarList.vue b/src/components/AppNavigation/CalendarList.vue index 256978f27..b237ba72a 100644 --- a/src/components/AppNavigation/CalendarList.vue +++ b/src/components/AppNavigation/CalendarList.vue @@ -140,6 +140,11 @@ export default { } this.calendars.forEach((calendar) => { + if (!calendar.enabled) { + sortedCalendars.hidden.push(calendar) + return + } + if (calendar.isSharedWithMe) { sortedCalendars.shared.push(calendar) return @@ -150,11 +155,6 @@ export default { return } - if (!calendar.enabled) { - sortedCalendars.hidden.push(calendar) - return - } - sortedCalendars.personal.push(calendar) })