From 7dc41a9f4959d581f21463ce0e3f3f89afa98623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A4ssin?= Date: Tue, 15 Oct 2024 11:18:06 +0200 Subject: [PATCH] fix loading spinner getting stuck on page navigation --- pages/stundenplan.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/stundenplan.vue b/pages/stundenplan.vue index 60938b8..6cc7ece 100644 --- a/pages/stundenplan.vue +++ b/pages/stundenplan.vue @@ -36,7 +36,7 @@ const data = useState('stundenplan', (() => [])); const schedule = computed(() => Object.values(groupedByDay.value)); - const hasLoaded = ref(false); + const hasLoaded = useState('hasLoaded', (() => false)); watch(groupedByDay.value, (newVal) => { const todayIndex = Object.keys(newVal).indexOf(today.toString());