mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-11-04 21:09:13 +08:00 
			
		
		
		
	adds nil check in ste_table_element for table name [fixes SCI-2009]
This commit is contained in:
		
							parent
							
								
									f67f633562
								
							
						
					
					
						commit
						ad742ac2d1
					
				
					 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…
	
	Add table
		
		Reference in a new issue