diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index bc1e8b0f0..37a09e325 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -19,12 +19,10 @@ <%= render partial: "log_filters" %> - <% if @case_logs.present? %> -
- <%= render SearchComponent.new(current_user:, search_label: "Search by log ID, tenant code, property reference or postcode", value: @searched) %> -
- <%= render partial: "log_list", locals: { case_logs: @case_logs, title: "Logs", pagy: @pagy, searched: @searched, item_label:, total_count: @total_count } %> - <%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "logs" } %> -
- <% end %> +
+ <%= render SearchComponent.new(current_user:, search_label: "Search by log ID, tenant code, property reference or postcode", value: @searched) %> +
+ <%= render partial: "log_list", locals: { case_logs: @case_logs, title: "Logs", pagy: @pagy, searched: @searched, item_label:, total_count: @total_count } %> + <%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "logs" } %> +