mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
Merge pull request #980 from ZmagoD/zd_SCI_2009
adds nil check in step_table_element for table name [fixes SCI-2009]
This commit is contained in:
commit
25a42658c8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
<div class="pull-left attachment-icon">
|
||||
<span class="glyphicon glyphicon-th"></span>
|
||||
</div>
|
||||
<% unless table.name.empty? then %>
|
||||
<% if table && table.name %>
|
||||
<div class="pull-left table-name">
|
||||
<em><%=t 'projects.reports.elements.step_table.table_name', name: table.name %></em>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue