From 6cc02eb4ca76a697d614bb0b261b629a6eb05b1e Mon Sep 17 00:00:00 2001
From: Kat
Date: Mon, 16 Jan 2023 12:08:26 +0000
Subject: [PATCH] Displayed owned/managed by in the logs list if the org has
managing agents
---
app/components/log_summary_component.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/components/log_summary_component.html.erb b/app/components/log_summary_component.html.erb
index 65d2fc045..9c251b6b4 100644
--- a/app/components/log_summary_component.html.erb
+++ b/app/components/log_summary_component.html.erb
@@ -36,7 +36,7 @@
<% end %>
- <% if current_user.support? %>
+ <% if current_user.support? || current_user.organisation.has_managing_agents? %>
<% if log.owning_organisation or log.managing_organisation %>