Skip to content

Commit

Permalink
Merge pull request #1511 from GSA/1503-Agency-Logo-Not-Displaying
Browse files Browse the repository at this point in the history
Agency Logo Not Displaying on Challenge Page #1503
  • Loading branch information
jdonis authored Jan 13, 2025
2 parents 16e3a3e + c65774a commit 4c3582c
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}${encodeURIComponent(challenge.agency_logo)}`}
src={`${imageBase ? imageBase : ''}${encodeURI(challenge.agency_logo || '')}`}
alt={`Agency logo for ${challenge.agency_name}`}
/>

Expand Down

0 comments on commit 4c3582c

Please sign in to comment.