Fix deploy migrate su immagine nuova e bump Android 2.0.3.

Le migrate partono dall'immagine appena buildata invece che dal container vecchio; helper live tollera slug assente.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-23 23:31:17 +02:00
co-authored by Cursor
parent 1d97271555
commit fb7068f86c
3 changed files with 7 additions and 10 deletions
+3 -2
View File
@@ -53,8 +53,9 @@ module Public
def live_match_card_heading(match, link_team: true)
team = match.team
club_name = team.club&.name.presence || "Società"
team_label = if link_team && team.slug.present?
link_to(team.name, public_team_page_path(team.slug), class: "live-card__team-link")
team_slug = team.respond_to?(:slug) ? team.slug : nil
team_label = if link_team && team_slug.present?
link_to(team.name, public_team_page_path(team_slug), class: "live-card__team-link")
else
team.name
end