From 772b57386f4dd6bca97e7b7508e9c286bb60502f Mon Sep 17 00:00:00 2001
From: enahum <nahumhbl@gmail.com>
Date: Fri, 4 Nov 2016 13:05:32 -0300
Subject: PLT-4550 move webrtc to TE (#4440)

* PLT-4550 move webrtc to TE

* remove webrtc from makefile enterprise tests
---
 webapp/components/admin_console/admin_sidebar.jsx | 27 ++++++++++-------------
 1 file changed, 12 insertions(+), 15 deletions(-)

(limited to 'webapp/components/admin_console/admin_sidebar.jsx')

diff --git a/webapp/components/admin_console/admin_sidebar.jsx b/webapp/components/admin_console/admin_sidebar.jsx
index 4de0cf007..f39bb8b6b 100644
--- a/webapp/components/admin_console/admin_sidebar.jsx
+++ b/webapp/components/admin_console/admin_sidebar.jsx
@@ -193,7 +193,6 @@ export default class AdminSidebar extends React.Component {
         let samlSettings = null;
         let clusterSettings = null;
         let complianceSettings = null;
-        let webrtcSettings = null;
 
         let license = null;
         let audits = null;
@@ -270,20 +269,6 @@ export default class AdminSidebar extends React.Component {
                 );
             }
 
-            if (global.window.mm_license.Webrtc === 'true') {
-                webrtcSettings = (
-                    <AdminSidebarSection
-                        name='webrtc'
-                        title={
-                            <FormattedMessage
-                                id='admin.sidebar.webrtc'
-                                defaultMessage='WebRTC (Beta)'
-                            />
-                        }
-                    />
-                );
-            }
-
             oauthSettings = (
                 <AdminSidebarSection
                     name='oauth'
@@ -370,6 +355,18 @@ export default class AdminSidebar extends React.Component {
             );
         }
 
+        const webrtcSettings = (
+            <AdminSidebarSection
+                name='webrtc'
+                title={
+                    <FormattedMessage
+                        id='admin.sidebar.webrtc'
+                        defaultMessage='WebRTC (Beta)'
+                    />
+                }
+            />
+        );
+
         return (
             <div className='admin-sidebar'>
                 <AdminSidebarHeader/>
-- 
cgit v1.2.3-1-g7c22

