Improve player inventory UI
This commit is contained in:
parent
19a450b1fe
commit
986664ca82
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user