From a4d7367e2f677cb55d764037ced7973e0c975755 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 31 May 2016 12:56:26 -0400 Subject: Properly hid integrations menu option for non-admins when EnableOnlyAdminIntegrations is true (#3175) --- webapp/components/navbar_dropdown.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/navbar_dropdown.jsx') diff --git a/webapp/components/navbar_dropdown.jsx b/webapp/components/navbar_dropdown.jsx index ec002bc44..6065f3474 100644 --- a/webapp/components/navbar_dropdown.jsx +++ b/webapp/components/navbar_dropdown.jsx @@ -153,7 +153,7 @@ export default class NavbarDropdown extends React.Component { window.mm_config.EnableIncomingWebhooks === 'true' || window.mm_config.EnableOutgoingWebhooks === 'true' || window.mm_config.EnableCommands === 'true'; - if (integrationsEnabled && (isAdmin || window.EnableOnlyAdminIntegrations !== 'true')) { + if (integrationsEnabled && (isAdmin || window.mm_config.EnableOnlyAdminIntegrations !== 'true')) { integrationsLink = (
  • -- cgit v1.2.3-1-g7c22