Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Undo changes
  • Loading branch information
jauggy committed Jun 15, 2024
1 parent ff64681 commit 4f05643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/teiserver_web/live/battles/match/show.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ defmodule TeiserverWeb.Battle.MatchLive.Show do
def handle_params(params, _url, socket) do
id = Map.get(params, "id")
balancer = Map.get(params, "balancer", "loser_picks")
# TODO Handle use case when given an invalid balancer

socket =
socket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
active: @active,
icon: Teiserver.Admin.AdminLib.icon(),
bsname: bsname,
url: ~p"/teiserver/admin/matches/#{@match.id}"
url: ~p"/battle/#{@match.id}"
) %>
<% end %>
</div>

0 comments on commit 4f05643

Please sign in to comment.