summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/admin_sidebar.jsx
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-07-13 21:00:59 +0100
committerChristopher Speller <crspeller@gmail.com>2017-07-13 13:00:59 -0700
commita1f17c1f8482f3c38e17cabe2365c76a1a2f32d4 (patch)
tree8681a3840d9881dad385628f74310e1576a188c4 /webapp/components/admin_console/admin_sidebar.jsx
parent4eed88e0c2eebbaf04489526dfaeab7cfb77ee98 (diff)
downloadchat-a1f17c1f8482f3c38e17cabe2365c76a1a2f32d4.tar.gz
chat-a1f17c1f8482f3c38e17cabe2365c76a1a2f32d4.tar.bz2
chat-a1f17c1f8482f3c38e17cabe2365c76a1a2f32d4.zip
PLT-6474 Basic Elasticsearch System Console Page (#6825)
* PLT-6474: Basic System Console Elasticsearch Config. * Fix review comments. * More review fixes. * Review comments.
Diffstat (limited to 'webapp/components/admin_console/admin_sidebar.jsx')
-rw-r--r--webapp/components/admin_console/admin_sidebar.jsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/webapp/components/admin_console/admin_sidebar.jsx b/webapp/components/admin_console/admin_sidebar.jsx
index 1dbbff2f2..9b27ab81e 100644
--- a/webapp/components/admin_console/admin_sidebar.jsx
+++ b/webapp/components/admin_console/admin_sidebar.jsx
@@ -258,6 +258,21 @@ export default class AdminSidebar extends React.Component {
/>
);
+ let elasticSearchSettings = null;
+ if (window.mm_license.IsLicensed === 'true') {
+ elasticSearchSettings = (
+ <AdminSidebarSection
+ name='elasticsearch'
+ title={
+ <FormattedMessage
+ id='admin.sidebar.elasticsearch'
+ defaultMessage='Elasticsearch'
+ />
+ }
+ />
+ );
+ }
+
return (
<div className='admin-sidebar'>
<AdminSidebarHeader/>
@@ -618,6 +633,7 @@ export default class AdminSidebar extends React.Component {
/>
}
/>
+ {elasticSearchSettings}
<AdminSidebarSection
name='developer'
title={