Skip to content

Commit

Permalink
Update based on Lexon feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jauggy committed Jul 13, 2024
1 parent 42c5fea commit 498870a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/teiserver_web/live/battles/match/show.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule TeiserverWeb.Battle.MatchLive.Show do

defp apply_action(%{assigns: %{match_name: match_name}} = socket, :balance, _params) do
# Restrict the balance tab to certain roles.
# Note that Staff roles like "Tester" also contain Contributor role.
# Note that Staff roles like Contributor will inherit Tester permissions
socket
|> mount_require_any(["Reviewer", "Tester"])
|> assign(:page_title, "#{match_name} - Balance")
Expand Down

0 comments on commit 498870a

Please sign in to comment.