frontend: Workload pages

This commit is contained in:
Frank Agerholm 2026-01-25 19:47:11 +01:00
commit 9eb9be7318
No known key found for this signature in database
8 changed files with 372 additions and 21 deletions

View file

@ -26,7 +26,7 @@ export function useApi() {
if (status === 401) {
console.warn("API returned 401 — logging out")
logout()
throw new Error("Deine Sitzung ist abgelaufen. Bitte erneut einloggen.")
return { unauthorized: true }
}
// 403 → keine Berechtigung