diff --git a/app/views/submissions/_value.html.erb b/app/views/submissions/_value.html.erb index 11533392..b8cb6517 100644 --- a/app/views/submissions/_value.html.erb +++ b/app/views/submissions/_value.html.erb @@ -46,7 +46,7 @@ <%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %> <% end %> - <% elsif field['type'] == 'cells' && area['cell_w'] %> + <% elsif field['type'] == 'cells' && area['cell_w'].to_f > 0.0 %> <% cell_width = area['cell_w'] / area['w'] * 100 %>