From 361d1f5fd2f9f5e80b8d94cd4f1ebfea888453f3 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 27 Aug 2015 16:22:51 -0700
Subject: Removes rename team option from mobile sidebar

---
 web/react/components/sidebar_right_menu.jsx | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'web/react/components/sidebar_right_menu.jsx')

diff --git a/web/react/components/sidebar_right_menu.jsx b/web/react/components/sidebar_right_menu.jsx
index d221ca840..615bc4ef2 100644
--- a/web/react/components/sidebar_right_menu.jsx
+++ b/web/react/components/sidebar_right_menu.jsx
@@ -15,7 +15,6 @@ module.exports = React.createClass({
         var inviteLink = '';
         var teamSettingsLink = '';
         var manageLink = '';
-        var renameLink = '';
         var currentUser = UserStore.getCurrentUser();
         var isAdmin = false;
 
@@ -48,11 +47,6 @@ module.exports = React.createClass({
                     <a href='#' data-toggle='modal' data-target='#team_members'><i className='glyphicon glyphicon-wrench'></i>Manage Team</a>
                 </li>
             );
-            renameLink = (
-                <li>
-                    <a href='#' data-toggle='modal' data-target='#rename_team_link'><i className='glyphicon glyphicon-pencil'></i>Rename</a>
-                </li>
-            );
         }
 
         var siteName = '';
@@ -77,7 +71,6 @@ module.exports = React.createClass({
                         {inviteLink}
                         {teamLink}
                         {manageLink}
-                        {renameLink}
                         <li><a href='#' onClick={this.handleLogoutClick}><i className='glyphicon glyphicon-log-out'></i>Logout</a></li>
                         <li className='divider'></li>
                         <li><a target='_blank' href='/static/help/configure_links.html'><i className='glyphicon glyphicon-question-sign'></i>Help</a></li>
-- 
cgit v1.2.3-1-g7c22

