Skip to content

Commit

Permalink
Fix Team Logos not loading (#1057)
Browse files Browse the repository at this point in the history
Team logos currently do not load because the URL does not reflect the
location of team logos. This should fix it
  • Loading branch information
babeuh authored Dec 15, 2024
1 parent 66b22f0 commit 02c2753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/modals/team_update_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { DropzoneButton } from '../utils/file_upload';

function TeamLogo({ team }: { team: TeamInterface | null }) {
if (team == null || team.logo_path == null) return null;
return <Image radius="md" src={`${getBaseApiUrl()}/static/${team.logo_path}`} />;
return <Image radius="md" src={`${getBaseApiUrl()}/static/team-logos/${team.logo_path}`} />;
}

export default function TeamUpdateModal({
Expand Down

0 comments on commit 02c2753

Please sign in to comment.