summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_settings_modal.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-24 10:52:32 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-24 10:52:32 -0700
commita374419ad5c5f35174ee6285b4eaa57ef82235bd (patch)
treeb8caa1111422817c97727be10dd06c01ed4c0783 /web/react/components/team_settings_modal.jsx
parent6c0d094d13e73346234bd5ca52b21323893cbbe5 (diff)
downloadchat-a374419ad5c5f35174ee6285b4eaa57ef82235bd.tar.gz
chat-a374419ad5c5f35174ee6285b4eaa57ef82235bd.tar.bz2
chat-a374419ad5c5f35174ee6285b4eaa57ef82235bd.zip
Removing old valet crud
Diffstat (limited to 'web/react/components/team_settings_modal.jsx')
-rw-r--r--web/react/components/team_settings_modal.jsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/web/react/components/team_settings_modal.jsx b/web/react/components/team_settings_modal.jsx
index 0513c811f..a5a2b711c 100644
--- a/web/react/components/team_settings_modal.jsx
+++ b/web/react/components/team_settings_modal.jsx
@@ -20,8 +20,8 @@ export default class TeamSettingsModal extends React.Component {
$('body').on('click', '.modal-back', function handleBackClick() {
$(this).closest('.modal-dialog').removeClass('display--content');
});
- $('body').on('click', '.modal-header .close', function handleCloseClick() {
- setTimeout(function removeContent() {
+ $('body').on('click', '.modal-header .close', () => {
+ setTimeout(() => {
$('.modal-dialog.display--content').removeClass('display--content');
}, 500);
});
@@ -33,11 +33,10 @@ export default class TeamSettingsModal extends React.Component {
this.setState({activeSection: section});
}
render() {
- let tabs = [];
+ const tabs = [];
tabs.push({name: 'general', uiName: 'General', icon: 'glyphicon glyphicon-cog'});
tabs.push({name: 'import', uiName: 'Import', icon: 'glyphicon glyphicon-upload'});
tabs.push({name: 'export', uiName: 'Export', icon: 'glyphicon glyphicon-download'});
- tabs.push({name: 'feature', uiName: 'Advanced', icon: 'glyphicon glyphicon-wrench'});
return (
<div
@@ -63,7 +62,7 @@ export default class TeamSettingsModal extends React.Component {
className='modal-title'
ref='title'
>
- Team Settings
+ {'Team Settings'}
</h4>
</div>
<div className='modal-body'>