Skip to content

Commit

Permalink
Agency Logo Not Displaying on Challenge Page #1503
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrug committed Jan 13, 2025
1 parent 1eb0719 commit e6e6c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/client/src/components/ChallengeDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export const ChallengeDetails = ({challenge, challengePhases, preview, print, ta
<div className="logos">
<img
className="agency-logo"
src={`${imageBase !== null ? imageBase : ''}${encodeURI(challenge.agency_logo || '')}`}
src={`${imageBase && imageBase !== 'null' ? imageBase : ''}${encodeURI(challenge.agency_logo || '')}`}
alt={`Agency logo for ${challenge.agency_name}`}
/>

Expand Down

0 comments on commit e6e6c57

Please sign in to comment.