show badges for inactive players
This commit is contained in:
parent
b5cfbf384a
commit
f83492ffdc
@ -63,12 +63,10 @@ export default function PlayerData({
|
|||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<article className="flex flex-col gap-2">
|
<article className="flex flex-col gap-2">
|
||||||
<PlayerHeader player={player} />
|
<PlayerHeader player={player} />
|
||||||
{!player.inactive && (
|
<Card className="gap-1">
|
||||||
<Card className="gap-1">
|
<PlayerBadges player={player} />
|
||||||
<PlayerBadges player={player} />
|
{!player.inactive && <PlayerCharts player={player} />}
|
||||||
<PlayerCharts player={player} />
|
</Card>
|
||||||
</Card>
|
|
||||||
)}
|
|
||||||
<PlayerScores
|
<PlayerScores
|
||||||
initialScoreData={initialScoreData}
|
initialScoreData={initialScoreData}
|
||||||
initialSearch={initialSearch}
|
initialSearch={initialSearch}
|
||||||
|
Reference in New Issue
Block a user