From 986664ca824e95f8e59ba6e28c3770f06867d60f Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Fri, 28 Apr 2023 10:22:57 +0000 Subject: [PATCH] Improve player inventory UI --- app/views/tables/_seat.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/tables/_seat.html.haml b/app/views/tables/_seat.html.haml index e3582725..90e77398 100644 --- a/app/views/tables/_seat.html.haml +++ b/app/views/tables/_seat.html.haml @@ -27,7 +27,9 @@ data: {soft_token: seat.player.soft_token} } .user-name= seat.player.display_name - if @game.started? - .inventory-count= seat.player.inventory.count + .inventory-count + Cards: + = seat.player.inventory.count -# Show player controls if player is owned by current_user - if seat.player.soft_token == current_user.soft_token