From 791369c026009dcfdbcf9bc7bee16a6d7940d2c5 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 8 Mar 2022 12:12:45 -0800 Subject: [PATCH] Only show VPs if you have some in the Winner Signed-off-by: James Ketrenos --- client/src/Winner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Winner.js b/client/src/Winner.js index 3031b53..d682cfe 100644 --- a/client/src/Winner.js +++ b/client/src/Winner.js @@ -39,7 +39,7 @@ const Winner = ({table, color}) => { continue; } let line = <> {getPlayerName(table.game.sessions, key)} finished with {tmp.points} victory points. - They had {tmp.potential} unplayed Victory Point card(s). + { tmp.potential && <>They had {tmp.potential} unplayed Victory Point card(s). }; description = <>{description}
{line}
; }