The weather view was crashing with CaseClauseError when receiving numeric values (like 83.0) from the database instead of strings. Also improved the UI to only show weather fields that have valid data. Changes: - Added support for numeric values in format_weather_value function - Added has_weather_field? helper to check for valid weather data - Updated template to conditionally display weather fields - Fields with nil, "N/A", or empty values are now hidden - Wind field shows direction and speed independently if available This prevents crashes and provides a cleaner UI by only showing available weather data instead of displaying N/A values. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||