summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_settings.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_settings.jsx')
-rw-r--r--web/react/components/team_settings.jsx16
1 files changed, 6 insertions, 10 deletions
diff --git a/web/react/components/team_settings.jsx b/web/react/components/team_settings.jsx
index 53855fe1c..e91aa20bc 100644
--- a/web/react/components/team_settings.jsx
+++ b/web/react/components/team_settings.jsx
@@ -3,7 +3,7 @@
var TeamStore = require('../stores/team_store.jsx');
var ImportTab = require('./team_import_tab.jsx');
-var FeatureTab = require('./team_feature_tab.jsx');
+var ExportTab = require('./team_export_tab.jsx');
var GeneralTab = require('./team_general_tab.jsx');
var Utils = require('../utils/utils.jsx');
@@ -24,7 +24,7 @@ export default class TeamSettings extends React.Component {
onChange() {
var team = TeamStore.getCurrent();
if (!Utils.areStatesEqual(this.state.team, team)) {
- this.setState({team: team});
+ this.setState({team});
}
}
render() {
@@ -42,10 +42,10 @@ export default class TeamSettings extends React.Component {
</div>
);
break;
- case 'feature':
+ case 'import':
result = (
<div>
- <FeatureTab
+ <ImportTab
team={this.state.team}
activeSection={this.props.activeSection}
updateSection={this.props.updateSection}
@@ -53,14 +53,10 @@ export default class TeamSettings extends React.Component {
</div>
);
break;
- case 'import':
+ case 'export':
result = (
<div>
- <ImportTab
- team={this.state.team}
- activeSection={this.props.activeSection}
- updateSection={this.props.updateSection}
- />
+ <ExportTab />
</div>
);
break;