Skip to content

Commit

Permalink
Fix exception when using nested tables in summary
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidka committed Apr 9, 2017
1 parent 302fd1b commit 7c2f16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devices/_object_table.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<% if not v2.is_a?(String) %>
<% (child_obj = v2.dup)['_object'] = "#{params['_object']}.#{k}.#{child_obj['_object']}" %>
<td>
<%= render partial: 'object_table', locals: {params: child_obj} %>
<%= render partial: 'object_table', locals: {params: child_obj, object: get_param(child_obj['_object'], @device)} %>
</td>
<% next %>
<% end %>
Expand Down

0 comments on commit 7c2f16f

Please sign in to comment.