Skip to content

Commit

Permalink
Merge pull request #6261 from nextcloud/Fix/list-hidden-shared-calend…
Browse files Browse the repository at this point in the history
…ars-correctly

Fix: list hidden shared calendars correctly
  • Loading branch information
ChristophWurst authored Aug 19, 2024
2 parents 8f85964 + 151e27a commit e5f9def
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/AppNavigation/CalendarList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -150,11 +155,6 @@ export default {
return
}
if (!calendar.enabled) {
sortedCalendars.hidden.push(calendar)
return
}
sortedCalendars.personal.push(calendar)
})
Expand Down

0 comments on commit e5f9def

Please sign in to comment.