Files
pichunt/app/pages/hunt/[huntSlug]
Pascal 370ba3406f refactor(hunt): replace admin middleware with auth and implement membership state
- Change middleware from 'admin' to 'auth' on hunt and quest admin pages
- Add global hunt store to track current hunt ID and membership status
- Use hunt store membership state to conditionally display admin UI elements
- Handle fetch errors gracefully with alerts and back navigation buttons
- Update admin UI logic to depend on membership state instead of user role
- Add membership state update after API calls in hunt, quest, teams, and admin pages
- Refactor UI templates to show error messages when fetch fails
- Centralize membership logic for better authorization control in frontend
2026-07-30 22:33:47 +02:00
..
2026-06-29 21:02:24 +02:00
2025-10-16 20:44:52 +02:00
2025-10-16 20:44:52 +02:00