show badges for inactive players

This commit is contained in:
Lee 2024-10-17 03:13:37 +01:00
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} />
<PlayerCharts player={player} /> {!player.inactive && <PlayerCharts player={player} />}
</Card> </Card>
)}
<PlayerScores <PlayerScores
initialScoreData={initialScoreData} initialScoreData={initialScoreData}
initialSearch={initialSearch} initialSearch={initialSearch}