diff --git a/app/views/projects/show/_experiment_workflow_image_container.html.erb b/app/views/projects/show/_experiment_workflow_image_container.html.erb index a1107ee0e..6daf6e3e5 100644 --- a/app/views/projects/show/_experiment_workflow_image_container.html.erb +++ b/app/views/projects/show/_experiment_workflow_image_container.html.erb @@ -2,7 +2,7 @@
-<% else %> +<% elsif experiment.my_modules.active.any? %> <% if experiment.workflowimg.attached? %>
<%= render partial: 'projects/show/workflow_img.html.erb', locals: { experiment: experiment } %>