- Update condition to check for state presence instead of name - Ensure proper rendering of state badge in city and weather art views This change improves the logic for displaying the state badge by checking for the presence of the state object directly, which prevents potential errors when the state name is not set. It ensures that the badge is displayed correctly when a state is associated with a city or weather art. |
||
---|---|---|
.. | ||
_card.html.erb | ||
_weather_stats.html.erb | ||
show.html.erb |