1 parent bb7ae7d commit d4da6edCopy full SHA for d4da6ed
2 files changed
lib/volley_web/components/match_components.ex
@@ -60,7 +60,6 @@ defmodule VolleyWeb.MatchComponents do
60
<span class="w-full text-xl">{@team_name}</span>
61
<score-card
62
id={"score_card_#{@team}"}
63
- phx-update={@can_score && "ignore"}
64
class="basis-score-min min-w-score-min grow select-none"
65
score={@score}
66
/>
lib/volley_web/live/scratch_match_live.ex
@@ -119,9 +119,7 @@ defmodule VolleyWeb.ScratchMatchLive do
119
Scoring.unsubscribe(old_match)
120
end
121
122
- unless scorer? do
123
- Scoring.subscribe(match)
124
- end
+ Scoring.subscribe(match)
125
126
127
share_link = url(socket, ~p"/scratch/#{match}")
0 commit comments