Ott 1492 visible players summary (#450)

* feat(#1492): added condition

* refactor(#1492): added size condition
keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Иван Пиминов 4 years ago committed by GitHub
parent 92d4d6be4c
commit 0fa7f711f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      src/features/MatchSidePlaylists/components/TabWatch/index.tsx

@ -40,11 +40,14 @@ export const TabWatch = ({
onSelect={onSelect} onSelect={onSelect}
/> />
</DropdownSection> </DropdownSection>
<PlayersPlaylists {size(playlists.players.team1)
profile={profile} && (
players={playlists.players} <PlayersPlaylists
selectedMathPlaylist={selectedPlaylist} profile={profile}
onSelect={onSelect} players={playlists.players}
/> selectedMathPlaylist={selectedPlaylist}
onSelect={onSelect}
/>
)}
</Fragment> </Fragment>
) )

Loading…
Cancel
Save