Skip to content

Commit

Permalink
disable showing banner image for merged scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarGrootKoerkamp authored and mpsijm committed May 3, 2024
1 parent c07fd7a commit cc8c999
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/templates/public/scoreboard.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
{% if showExternalId(contest) %}
{% set contestId = contest.externalid %}
{% endif %}
{% set bannerImage = contestId | assetPath('contest') %}
{% if contestId %}
{% set bannerImage = contestId | assetPath('contest') %}
{% endif %}
{% endif %}
{% if bannerImage is not defined or not bannerImage %}
{% set bannerImage = globalBannerAssetPath() %}
Expand Down

0 comments on commit cc8c999

Please sign in to comment.