Add sick routes to backend and frontend; update routing and UI components for sickness tracking

This commit is contained in:
Torsten Schulz (local)
2025-10-17 21:24:00 +02:00
parent b65a13d815
commit ca4002f402
11 changed files with 735 additions and 6 deletions

View File

@@ -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'))