mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
Hide extra '0' when server has 0 player kills
The component shares rendering with Network as Numbers and player_kills is undefined on network. Affects issues - Fixed #3252
This commit is contained in:
parent
6a9a469adc
commit
d6065f497b
@ -60,7 +60,7 @@ const ServerAsNumbersCard = ({data}) => {
|
||||
<Datapoint name={t('html.label.sessions')}
|
||||
color={'teal'} icon={faCalendarCheck}
|
||||
value={data.sessions} bold/>
|
||||
{data.player_kills && <hr/>}
|
||||
{data.player_kills !== undefined && <hr/>}
|
||||
<Datapoint name={t('html.label.playerKills')}
|
||||
color={'red'} icon={faCrosshairs}
|
||||
value={data.player_kills} bold/>
|
||||
|
Loading…
Reference in New Issue
Block a user