diff --git a/src/components/SelectFilter/styled.tsx b/src/components/SelectFilter/styled.tsx index e985e196..543b770f 100644 --- a/src/components/SelectFilter/styled.tsx +++ b/src/components/SelectFilter/styled.tsx @@ -12,7 +12,12 @@ export const ScSelectFilter = styled.div` font-weight: 700; align-items: center; cursor: pointer; + white-space: nowrap; + &:hover { + text-decoration: underline; + } + ${isMobileDevice ? css` letter-spacing: 0.15rem; diff --git a/src/features/HomePage/components/HeaderFilters/index.tsx b/src/features/HomePage/components/HeaderFilters/index.tsx index 9114e223..aa47a588 100644 --- a/src/features/HomePage/components/HeaderFilters/index.tsx +++ b/src/features/HomePage/components/HeaderFilters/index.tsx @@ -1,7 +1,9 @@ import { useRecoilValue } from 'recoil' import { isLffClient } from 'config/clients' +import { ProfileTypes } from 'config/profileTypes' +import { ProfileLink } from 'features/ProfileLink' import { SportsFilter } from 'features/SportsFilter' import { SelectFilter } from 'components/SelectFilter' import { useHeaderFiltersStore } from 'features/HeaderFilters' @@ -43,7 +45,7 @@ export const HeaderFilters = () => { return ( - {!isShowTournament && ( + {(!isShowTournament && selectTournament) && ( <> { direction={90} onClick={() => handleClickBack()} /> - + + + )} {!isLffClient && isShowTournament && isSportFilterShown && } diff --git a/src/requests/getMatchInfo.tsx b/src/requests/getMatchInfo.tsx index 78d67b5b..a1529d0c 100644 --- a/src/requests/getMatchInfo.tsx +++ b/src/requests/getMatchInfo.tsx @@ -1,6 +1,7 @@ import { DATA_URL, PROCEDURES, + SportTypes, } from 'config' import { callApi } from 'helpers' @@ -44,6 +45,7 @@ export type MatchInfo = { id: number, name_eng: string, name_rus: string, + sportType: SportTypes, }, video_bounds?: VideoBounds, youtube_link?: string, diff --git a/src/requests/getMatches/types.tsx b/src/requests/getMatches/types.tsx index b7e3ac03..15e8e9ce 100644 --- a/src/requests/getMatches/types.tsx +++ b/src/requests/getMatches/types.tsx @@ -5,6 +5,7 @@ export type TournamentType = { is_super_tournament?: boolean, name_eng: string, name_rus: string, + sportType: SportTypes, } type Team = {