From ee476c1053265e5aebe90462676b662fcf30a76a Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Sun, 14 Jul 2024 20:32:53 +0200
Subject: [PATCH] Default to only showing lessons with absences

---
 .../alsijil/frontend/components/coursebook/Coursebook.vue     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/Coursebook.vue b/aleksis/apps/alsijil/frontend/components/coursebook/Coursebook.vue
index 02d19dadf..5f64bdf08 100644
--- a/aleksis/apps/alsijil/frontend/components/coursebook/Coursebook.vue
+++ b/aleksis/apps/alsijil/frontend/components/coursebook/Coursebook.vue
@@ -154,7 +154,7 @@ export default {
       groups: [],
       courses: [],
       incomplete: false,
-      absencesExist: false,
+      absencesExist: true,
       ready: false,
       initDate: false,
       currentDate: "",
@@ -218,7 +218,7 @@ export default {
           this.$refs.iterator.resetDate();
           // might skip query until both set = atomic
           if (Object.hasOwn(selectedFilters, "pageType")) {
-            this.absencesExist = false;
+            this.absencesExist = true;
           }
         }
       },
-- 
GitLab