mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 11:14:24 +08:00
additional filters for blank string when displaying the reagent details
This commit is contained in:
parent
b709c0ec3c
commit
012b828708
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<% if item[:details]&.any? %>
|
||||
<b> <%= t('protocol_importers.templates.details.title')%>: </b>
|
||||
<br />
|
||||
<% item[:details]&.compact.each do |k, v| %>
|
||||
<% item[:details].reject { |_,v| v.blank? }.each do |k, v| %>
|
||||
<%= "#{k.humanize}: #{v.to_s}" %>
|
||||
<br />
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue