Skip to content

Commit

Permalink
fix loading spinner getting stuck on page navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Oct 15, 2024
1 parent f08ec22 commit 7dc41a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/stundenplan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 7dc41a9

Please sign in to comment.