mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Prevent showing empty files for experiments without Tasks
SCI-5481
This commit is contained in:
parent
6ea39c9363
commit
3bca05fc94
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<div class="archived-icon-plceholder">
|
||||
<i class="fas fa-archive"></i>
|
||||
</div>
|
||||
<% else %>
|
||||
<% elsif experiment.my_modules.active.any? %>
|
||||
<% if experiment.workflowimg.attached? %>
|
||||
<div class="workflowimg-container" data-workflowimg-present="true">
|
||||
<%= render partial: 'projects/show/workflow_img.html.erb', locals: { experiment: experiment } %>
|
||||
|
|
Loading…
Reference in a new issue