Add sick routes to backend and frontend; update routing and UI components for sickness tracking
This commit is contained in:
@@ -293,9 +293,11 @@ const handleAction = async (action) => {
|
||||
}
|
||||
|
||||
// Aktualisiere Status und Worklog-Daten sofort
|
||||
console.log('DEBUG: Lade Daten nach Stempel-Aktion neu...')
|
||||
await fetchCurrentState()
|
||||
await fetchWorklogData()
|
||||
await fetchStats()
|
||||
console.log('DEBUG: Daten neu geladen, stats =', stats.value)
|
||||
|
||||
// Event auslösen für andere Komponenten (z.B. WeekOverview)
|
||||
window.dispatchEvent(new CustomEvent('worklog-updated'))
|
||||
|
||||
Reference in New Issue
Block a user