diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb index 48a276c2f..07e3eec42 100644 --- a/app/helpers/reports_helper.rb +++ b/app/helpers/reports_helper.rb @@ -21,7 +21,7 @@ module ReportsHelper children_html = ''.html_safe # First, recursively render element's children if element.children.active.present? - element.children.active.each do |child| + element.children.active.find_each do |child| children_html.safe_concat render_report_element(child, provided_locals) end end diff --git a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue index 298679e2f..c758cd8fc 100644 --- a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue +++ b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue @@ -1,6 +1,6 @@