Files
app-padel/apps/web/app/(admin)/settings
Ivan a713369e03 fix: Settings courts list not loading and status display
- Handle Courts API returning array directly (not wrapped in data property)
- Map pricePerHour to hourlyRate for frontend compatibility
- Handle uppercase DB status values (AVAILABLE, MAINTENANCE, CLOSED)
- Send pricePerHour field when creating/updating courts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 03:52:08 +00:00
..