|
|
|
|
@ -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 ( |
|
|
|
|
<ScHeaderFilters> |
|
|
|
|
{!isShowTournament && ( |
|
|
|
|
{(!isShowTournament && selectTournament) && ( |
|
|
|
|
<> |
|
|
|
|
<ScArrow |
|
|
|
|
refIcon='Arrow' |
|
|
|
|
@ -51,11 +53,17 @@ export const HeaderFilters = () => { |
|
|
|
|
direction={90} |
|
|
|
|
onClick={() => handleClickBack()} |
|
|
|
|
/> |
|
|
|
|
<SelectFilter |
|
|
|
|
open={false} |
|
|
|
|
selectItem={selectTournament} |
|
|
|
|
withArrow={false} |
|
|
|
|
/> |
|
|
|
|
<ProfileLink |
|
|
|
|
id={selectTournament.id} |
|
|
|
|
sportType={selectTournament.sportType} |
|
|
|
|
profileType={ProfileTypes.TOURNAMENTS} |
|
|
|
|
> |
|
|
|
|
<SelectFilter |
|
|
|
|
open={false} |
|
|
|
|
selectItem={selectTournament} |
|
|
|
|
withArrow={false} |
|
|
|
|
/> |
|
|
|
|
</ProfileLink> |
|
|
|
|
</> |
|
|
|
|
)} |
|
|
|
|
{!isLffClient && isShowTournament && isSportFilterShown && <SportsFilter />} |
|
|
|
|
|