diff --git a/lib/teiserver_web/live/battles/match/show.ex b/lib/teiserver_web/live/battles/match/show.ex index c917cb0b9..000216abb 100644 --- a/lib/teiserver_web/live/battles/match/show.ex +++ b/lib/teiserver_web/live/battles/match/show.ex @@ -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 diff --git a/lib/teiserver_web/templates/battle/match/section_menu.html.heex b/lib/teiserver_web/templates/battle/match/section_menu.html.heex index 96912e1b0..7578d689d 100644 --- a/lib/teiserver_web/templates/battle/match/section_menu.html.heex +++ b/lib/teiserver_web/templates/battle/match/section_menu.html.heex @@ -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 %>