Invalidate goals after time entry and member changes

This commit is contained in:
Gregor Vostrak
2026-10-14 16:43:58 +02:00
parent 812b3f2f54
commit adfd715836
8 changed files with 94 additions and 0 deletions

View File

@@ -217,6 +217,7 @@ export function useCopyLastWeek(
}
queryClient.invalidateQueries({ queryKey: ['timeEntries'] });
queryClient.invalidateQueries({ queryKey: ['goals'] });
if (attempted === 0) return;