From 5125c11fd93381bca4d4edebb703f43cb788313b Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 24 Sep 2024 17:46:27 +0100 Subject: [PATCH] Conditional error report and view logs links --- .../bulk_upload_summary_component.html.erb | 4 +-- .../bulk_upload_summary_component.rb | 30 ++++++++++++++++--- app/models/bulk_upload.rb | 2 +- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/app/components/bulk_upload_summary_component.html.erb b/app/components/bulk_upload_summary_component.html.erb index 744c149a1..e2dbddfde 100644 --- a/app/components/bulk_upload_summary_component.html.erb +++ b/app/components/bulk_upload_summary_component.html.erb @@ -14,8 +14,8 @@

<%= download_file_link(controller, bulk_upload) %> - <%#= view_error_report_link(bulk_upload) %> - <%#= view_logs_link(bulk_upload) %> + <%= view_error_report_link(controller, bulk_upload) %> + <%= view_logs_link(controller, bulk_upload) %>