From bf82facd5afd6e2c71845f5732654069554c3a16 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Fri, 21 Aug 2015 16:36:53 -0700
Subject: Moved the ability to rename a team into the team settings modal;
 fixed issues with valet settings

---
 web/react/components/team_settings.jsx | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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

diff --git a/web/react/components/team_settings.jsx b/web/react/components/team_settings.jsx
index 94d536651..1a79eef1d 100644
--- a/web/react/components/team_settings.jsx
+++ b/web/react/components/team_settings.jsx
@@ -4,6 +4,7 @@
 var TeamStore = require('../stores/team_store.jsx');
 var ImportTab = require('./team_import_tab.jsx');
 var FeatureTab = require('./team_feature_tab.jsx');
+var GeneralTab = require('./team_general_tab.jsx');
 var utils = require('../utils/utils.jsx');
 
 module.exports = React.createClass({
@@ -11,7 +12,8 @@ module.exports = React.createClass({
     propTypes: {
         activeTab: React.PropTypes.string.isRequired,
         activeSection: React.PropTypes.string.isRequired,
-        updateSection: React.PropTypes.func.isRequired
+        updateSection: React.PropTypes.func.isRequired,
+        teamDisplayName: React.PropTypes.string.isRequired
     },
     componentDidMount: function() {
         TeamStore.addChangeListener(this.onChange);
@@ -34,6 +36,12 @@ module.exports = React.createClass({
             case 'general':
                 result = (
                     <div>
+                        <GeneralTab
+                            team={this.state.team}
+                            activeSection={this.props.activeSection}
+                            updateSection={this.props.updateSection}
+                            teamDisplayName={this.props.teamDisplayName}
+                        />
                     </div>
                 );
                 break;
-- 
cgit v1.2.3-1-g7c22

