|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
import { Fragment } from 'react' |
|
|
|
|
|
|
|
|
|
import isEmpty from 'lodash/isEmpty' |
|
|
|
|
import size from 'lodash/size' |
|
|
|
|
|
|
|
|
|
import type { PlaylistOption, Playlists } from 'features/MatchPage/types' |
|
|
|
|
@ -40,14 +41,13 @@ export const TabWatch = ({ |
|
|
|
|
onSelect={onSelect} |
|
|
|
|
/> |
|
|
|
|
</DropdownSection> |
|
|
|
|
{size(playlists.players.team1) |
|
|
|
|
&& ( |
|
|
|
|
<PlayersPlaylists |
|
|
|
|
profile={profile} |
|
|
|
|
players={playlists.players} |
|
|
|
|
selectedMathPlaylist={selectedPlaylist} |
|
|
|
|
onSelect={onSelect} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
{!isEmpty(playlists.players.team1) && ( |
|
|
|
|
<PlayersPlaylists |
|
|
|
|
profile={profile} |
|
|
|
|
players={playlists.players} |
|
|
|
|
selectedMathPlaylist={selectedPlaylist} |
|
|
|
|
onSelect={onSelect} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
</Fragment> |
|
|
|
|
) |
|
|
|
|
|