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

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppNavigation/Trashbin.vue')
-rw-r--r--src/components/AppNavigation/Trashbin.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/AppNavigation/Trashbin.vue b/src/components/AppNavigation/Trashbin.vue
index 318eb0a9..ed5ad985 100644
--- a/src/components/AppNavigation/Trashbin.vue
+++ b/src/components/AppNavigation/Trashbin.vue
@@ -253,7 +253,7 @@ export default {
const { calendars } = await this.$store.dispatch('getCalendarsAndTrashBin')
// Load the tasks of the restored calendar
const calendar = calendars.find(cal => cal.url === item.calendar.url)
- if (calendar) {
+ if (calendar?.supportsTasks) {
await this.$store.dispatch('getTasksFromCalendar', { calendar, completed: false, related: null })
}
break