Fixed issue with calendar today loading

This commit is contained in:
Alexis
2024-08-21 13:50:37 +02:00
parent 1137b172e4
commit 9f4f30cebe
3 changed files with 34 additions and 46 deletions

View File

@@ -18,7 +18,7 @@ const route = useRoute()
const id = route.params.id
const calendarStore = useCalendar()
const { pending: calendarPending } = await useAsyncData('calendar', () => calendarStore.fetchCalendar(Number(id)).then(() => true))
const { pending: calendarPending } = await useAsyncData('calendar', async () => await calendarStore.fetchCalendar(Number(id)))
</script>
<template>