Skip to content

Commit d4da6ed

Browse files
committed
Also update other scorer views
1 parent bb7ae7d commit d4da6ed

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

lib/volley_web/components/match_components.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ defmodule VolleyWeb.MatchComponents do
6060
<span class="w-full text-xl">{@team_name}</span>
6161
<score-card
6262
id={"score_card_#{@team}"}
63-
phx-update={@can_score && "ignore"}
6463
class="basis-score-min min-w-score-min grow select-none"
6564
score={@score}
6665
/>

lib/volley_web/live/scratch_match_live.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ defmodule VolleyWeb.ScratchMatchLive do
119119
Scoring.unsubscribe(old_match)
120120
end
121121

122-
unless scorer? do
123-
Scoring.subscribe(match)
124-
end
122+
Scoring.subscribe(match)
125123
end
126124

127125
share_link = url(socket, ~p"/scratch/#{match}")

0 commit comments

Comments
 (0)