From 7996b843807aa08ab5f79fc718212109f72f0faa Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 16 Jun 2021 16:26:25 +0100 Subject: [PATCH] Rearrange tabs for inter-page consistency The all traces tab comes first, since it's shown on every page as you click around. Otherwise the tabs appear to be constantly rearranging themselves. --- app/views/traces/index.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 2e5c44a5e..7668532aa 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -11,26 +11,26 @@ <% if current_user %> <% end %> + <% elsif current_user && current_user == @target_user %> - <% elsif current_user && current_user == @target_user %> - <% else %> <% if current_user && current_user != @target_user %> <% end %> <% end %> -- 2.43.2