From 49dc56caf2081c4213001cec7e4680117e63dbc7 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Wed, 30 Dec 2020 22:17:04 +0100 Subject: [PATCH] Fix project card menu visibility [SCI-5328] --- .../index/_project_actions_dropdown.html.erb | 120 +++++++++--------- 1 file changed, 59 insertions(+), 61 deletions(-) diff --git a/app/views/projects/index/_project_actions_dropdown.html.erb b/app/views/projects/index/_project_actions_dropdown.html.erb index d4a8565b4..e6fc9d3b1 100644 --- a/app/views/projects/index/_project_actions_dropdown.html.erb +++ b/app/views/projects/index/_project_actions_dropdown.html.erb @@ -1,72 +1,70 @@ <% cache [current_user, project] do %> <% active = !project.archived %> - <% if (active && (can_manage_project?(project) || can_archive_project?(project))) || (!active && can_restore_project?(project)) %> - <% end %>