diff --git a/elixir/apps/web/lib/web/components/layouts/app.html.heex b/elixir/apps/web/lib/web/components/layouts/app.html.heex index 5fd597446..091ca8c70 100644 --- a/elixir/apps/web/lib/web/components/layouts/app.html.heex +++ b/elixir/apps/web/lib/web/components/layouts/app.html.heex @@ -33,14 +33,6 @@ Clients - <.sidebar_item - current_path={@current_path} - navigate={~p"/#{@account}/policies"} - icon="hero-shield-check-solid" - > - Policies - - <.sidebar_item current_path={@current_path} navigate={~p"/#{@account}/resources"} @@ -49,6 +41,14 @@ Resources + <.sidebar_item + current_path={@current_path} + navigate={~p"/#{@account}/policies"} + icon="hero-shield-check-solid" + > + Policies + + <.sidebar_item :if={Domain.Accounts.self_hosted_relays_enabled?(@account)} current_path={@current_path}