Skip to content

Commit

Permalink
Merge pull request #6267 from nextcloud/backport/6261/stable5.0
Browse files Browse the repository at this point in the history
[stable5.0] Fix: list hidden shared calendars correctly
  • Loading branch information
miaulalala committed Aug 19, 2024
2 parents a987c4b + 86b6ef1 commit ca93fe2
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 ca93fe2

Please sign in to comment.