diff --git a/frontend/app/components/shared/SessionItem/SessionItem.tsx b/frontend/app/components/shared/SessionItem/SessionItem.tsx index a1312428b..e1926813d 100644 --- a/frontend/app/components/shared/SessionItem/SessionItem.tsx +++ b/frontend/app/components/shared/SessionItem/SessionItem.tsx @@ -222,7 +222,7 @@ function SessionItem(props: RouteComponentProps & Props) {
- +
diff --git a/frontend/app/components/ui/CountryFlag/CountryFlag.tsx b/frontend/app/components/ui/CountryFlag/CountryFlag.tsx index 71cc187b8..3e8e087e3 100644 --- a/frontend/app/components/ui/CountryFlag/CountryFlag.tsx +++ b/frontend/app/components/ui/CountryFlag/CountryFlag.tsx @@ -12,6 +12,7 @@ interface CountryFlagProps { style?: CSSProperties; width?: number; height?: number; + showLabel?: boolean; } @@ -22,7 +23,8 @@ const CountryFlag: FC = ({ className = '', style = {}, width = 22, - height = 15 + height = 15, + showLabel = false, }) => { const knownCountry = !!country && country !== 'UN'; const countryFlag = knownCountry ? country.toLowerCase() : ''; @@ -54,14 +56,14 @@ const CountryFlag: FC = ({ {knownCountry ? (
) : ( renderUnknownCountry )} - {renderGeoInfo} + {showLabel && renderGeoInfo}
); };