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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user