From 6c75662b824491a20a757a5eec59556a866374b5 Mon Sep 17 00:00:00 2001
From: Corey Hulen <corey@hulen.com>
Date: Fri, 6 May 2016 11:28:22 -0700
Subject: PLT-2697 Fixing team admins (#2900)

* PLT-2697 Fixing team admins

* Fixing eslint error

* Fixing loc issues

* Fixing func

* Fixing func
---
 webapp/components/audit_table.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/components/audit_table.jsx')

diff --git a/webapp/components/audit_table.jsx b/webapp/components/audit_table.jsx
index b1f155518..58b5b9af7 100644
--- a/webapp/components/audit_table.jsx
+++ b/webapp/components/audit_table.jsx
@@ -494,7 +494,7 @@ export function formatAuditInfo(audit, formatMessage) {
                 if (actingUserInfo[0] === 'session_user') {
                     const actingUser = UserStore.getProfile(actingUserInfo[1]);
                     const user = UserStore.getCurrentUser();
-                    if (user && actingUser && (Utils.isAdmin(user.roles) || Utils.isSystemAdmin(user.roles))) {
+                    if (user && actingUser && (Utils.isSystemAdmin(user.roles))) {
                         auditDesc += formatMessage(holders.by, {username: actingUser.username});
                     } else if (user && actingUser) {
                         auditDesc += formatMessage(holders.byAdmin);
-- 
cgit v1.2.3-1-g7c22

