From d5a5daaea7e8e2646a949723a0757337b9d0afe0 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sat, 20 Nov 2021 03:04:17 -0800 Subject: [PATCH] Fix display if player to beat is removed --- app/views/tables/_play_to_beat.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tables/_play_to_beat.html.haml b/app/views/tables/_play_to_beat.html.haml index 2197c87..76d3659 100644 --- a/app/views/tables/_play_to_beat.html.haml +++ b/app/views/tables/_play_to_beat.html.haml @@ -8,7 +8,7 @@ %span= @game.play_to_beat.play.to_s -# - @game.play_to_beat.play.player_cards.each do |card| = card.to_s - %div= @game.play_to_beat.play.player.display_name + %div= @game.play_to_beat.play.try("player").try("display_name") %ol#cards-to-beat - @game.play_to_beat.play.player_cards.reverse.each_with_index do |card, index| %li{style: "z-index: #{100 - index};"}