From 68ec8960ab34b6250321845ccd9b5d48a056333f Mon Sep 17 00:00:00 2001 From: Attila <1230402+borzaka@users.noreply.github.com> Date: Thu, 28 Dec 2023 17:32:42 +0100 Subject: [PATCH] Show default CT/T team logo if no custom logo is present --- src/HUD/MatchBar/TeamLogo.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HUD/MatchBar/TeamLogo.tsx b/src/HUD/MatchBar/TeamLogo.tsx index 89cc88d..b3d4ef8 100644 --- a/src/HUD/MatchBar/TeamLogo.tsx +++ b/src/HUD/MatchBar/TeamLogo.tsx @@ -1,6 +1,7 @@ import { Team } from 'csgogsi'; import * as I from '../../API/types'; import { apiUrl } from './../../API'; +import { LogoCT, LogoT } from './../../assets/Icons'; const TeamLogo = ({team, height, width }: { team?: Team | I.Team | null, height?: number, width?: number}) => { if(!team) return null; @@ -13,10 +14,10 @@ const TeamLogo = ({team, height, width }: { team?: Team | I.Team | null, height? } return (
- { logo && id ? {'Team : ''} + {'Team
); } -export default TeamLogo; \ No newline at end of file +export default TeamLogo;