From e0b6da3569b15b6b08941618c2d38930ead16ae1 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Wed, 18 Oct 2023 16:02:25 -0400 Subject: [PATCH] Fix missing customization_templates list We were checking two different keys in the `data` hash, first was simply a typo. The result was that there were never any customization_templates being displayed. --- app/helpers/request_info_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/request_info_helper.rb b/app/helpers/request_info_helper.rb index ebda142ec45..b3bc5b62621 100644 --- a/app/helpers/request_info_helper.rb +++ b/app/helpers/request_info_helper.rb @@ -149,7 +149,7 @@ def prov_template_data(data) edit = data[:edit] headers, count = prov_grid_header(edit, data[:type]) rows = [prov_row_item(data[:none_index], none_cells(count))] - if data[:template] + if data[:templates] rows += data[:templates].map do |template| prov_row_item(template.id.to_s, prov_template_cells(template)) end