diff --git a/app/views/submissions/_value.html.erb b/app/views/submissions/_value.html.erb index f0487425..5a8e3d22 100644 --- a/app/views/submissions/_value.html.erb +++ b/app/views/submissions/_value.html.erb @@ -50,12 +50,13 @@ <%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %> <% elsif field['type'].in?(%w[multiple radio]) && area['option_uuid'] %> - <% option = field['options']&.find { |o| o['uuid'] == area['option_uuid'] } %> - <% option_name = option['value'].presence || "Option #{field['options'].index(option) + 1}" %> - <% if option && Array.wrap(value).include?(option_name) %> -