diff --git a/app/helpers/log_list_helper.rb b/app/helpers/log_list_helper.rb index 881ebdfef..54ca4c668 100644 --- a/app/helpers/log_list_helper.rb +++ b/app/helpers/log_list_helper.rb @@ -6,4 +6,8 @@ module LogListHelper any_filter_selected? || search_term.present? end end + + def in_organisations_tab? + controller.class.name.start_with? "Organisation" + end end diff --git a/app/views/logs/_log_list.html.erb b/app/views/logs/_log_list.html.erb index d3a6482e8..73d0ccf9b 100644 --- a/app/views/logs/_log_list.html.erb +++ b/app/views/logs/_log_list.html.erb @@ -10,7 +10,7 @@ <% end %>