diff --git a/resources/js/utils/prefetch.ts b/resources/js/utils/prefetch.ts index 17f8bf73..0f4f7c4e 100644 --- a/resources/js/utils/prefetch.ts +++ b/resources/js/utils/prefetch.ts @@ -79,6 +79,10 @@ function prefetchDashboard(queryClient: QueryClient) { const organizationId = getCurrentOrganizationId(); if (!organizationId) return; + // Prefetch projects and tasks for RecentlyTrackedTasksCard + prefetchProjects(queryClient); + prefetchTasks(queryClient); + // Prefetch all dashboard card data queryClient.prefetchQuery({ queryKey: ['timeEntries', organizationId],