Improve player inventory UI

This commit is contained in:
Jesse C. Fisher 2023-04-28 10:22:57 +00:00
parent 29dc6082cf
commit c88e7b3f00

View File

@ -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