summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_upload.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
committerCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
commit4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch)
treefa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/setting_upload.jsx
parentb3fea25eddc332e9529692733093291b10d4aeef (diff)
parent570327463ca06c23b5b54b9ec93152535836f2c0 (diff)
downloadchat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.gz
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.bz2
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.zip
Merge pull request #591 from mattermost/mm-1909
MM-1909 Upgrading ESLint, turning on new rules, enabling some warnings, optimizations
Diffstat (limited to 'web/react/components/setting_upload.jsx')
-rw-r--r--web/react/components/setting_upload.jsx18
1 files changed, 11 insertions, 7 deletions
diff --git a/web/react/components/setting_upload.jsx b/web/react/components/setting_upload.jsx
index 66afdfb41..5979091c4 100644
--- a/web/react/components/setting_upload.jsx
+++ b/web/react/components/setting_upload.jsx
@@ -2,7 +2,6 @@
// See License.txt for license information.
export default class SettingsUpload extends React.Component {
-
constructor(props) {
super(props);
@@ -70,14 +69,19 @@ export default class SettingsUpload extends React.Component {
<li className='col-xs-offset-3 col-xs-8'>
<ul className='setting-list'>
<li className='setting-list-item'>
- <span className='btn btn-sm btn-primary btn-file sel-btn'>Select file<input
- ref='uploadinput'
- accept={this.props.fileTypesAccepted}
- type='file'
- onChange={this.onFileSelect}/></span>
+ <span className='btn btn-sm btn-primary btn-file sel-btn'>
+ Select file
+ <input
+ ref='uploadinput'
+ accept={this.props.fileTypesAccepted}
+ type='file'
+ onChange={this.onFileSelect}
+ />
+ </span>
<a
className={'btn btn-sm btn-primary'}
- onClick={this.doSubmit}>
+ onClick={this.doSubmit}
+ >
Import
</a>
<div className='file-status file-name hide'></div>