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

@@ -261,6 +261,7 @@ export const useCurrentTimeEntryStore = defineStore('currentTimeEntry', () => {
stopLiveTimer();
}
}
queryClient.invalidateQueries({ queryKey: ['goals'] });
} else {
throw new Error(
'Failed to fetch current time entry because organization ID is missing.'