From 2cf2d447c5fbd8b2b913bef9bbbbf6c27e9f2376 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Thu, 5 Sep 2024 14:35:24 -0700 Subject: [PATCH] chore(portal): Move Resources above Policies in the menu since they are created first (#6602) --- .../web/lib/web/components/layouts/app.html.heex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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}