diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-02 12:41:47 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-02 12:41:47 -0700 |
commit | c7cafb6ac7404b62f38b48d3ec5782863abf203a (patch) | |
tree | fcf0970fa47942ca3a2431f21919271e1305a925 /web/react/components/channel_invite_modal.jsx | |
parent | b31be3afa70a015afab864677545aafa3af8e1eb (diff) | |
parent | 63bc243b179f2c1f7b51ad2252f698907d2cde59 (diff) | |
download | chat-c7cafb6ac7404b62f38b48d3ec5782863abf203a.tar.gz chat-c7cafb6ac7404b62f38b48d3ec5782863abf203a.tar.bz2 chat-c7cafb6ac7404b62f38b48d3ec5782863abf203a.zip |
Merge pull request #553 from mattermost/MM-2065
MM-2065 Cosmetic refactoring for ESLint
Diffstat (limited to 'web/react/components/channel_invite_modal.jsx')
-rw-r--r-- | web/react/components/channel_invite_modal.jsx | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/web/react/components/channel_invite_modal.jsx b/web/react/components/channel_invite_modal.jsx index b70811db1..f76ede604 100644 --- a/web/react/components/channel_invite_modal.jsx +++ b/web/react/components/channel_invite_modal.jsx @@ -9,7 +9,6 @@ var utils = require('../utils/utils.jsx'); var client = require('../utils/client.jsx'); var AsyncClient = require('../utils/async_client.jsx'); - export default class ChannelInviteModal extends React.Component { constructor() { super(); @@ -129,15 +128,37 @@ export default class ChannelInviteModal extends React.Component { if (this.state.loading) { content = (<LoadingScreen />); } else { - content = (<MemberList memberList={this.state.nonmembers} isAdmin={isAdmin} handleInvite={this.handleInvite} />); + content = ( + <MemberList + memberList={this.state.nonmembers} + isAdmin={isAdmin} + handleInvite={this.handleInvite} + /> + ); } return ( - <div className='modal fade' id='channel_invite' tabIndex='-1' role='dialog' aria-hidden='true'> - <div className='modal-dialog' role='document'> + <div + className='modal fade' + id='channel_invite' + tabIndex='-1' + role='dialog' + aria-hidden='true' + > + <div + className='modal-dialog' + role='document' + > <div className='modal-content'> <div className='modal-header'> - <button type='button' className='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>×</span></button> + <button + type='button' + className='close' + data-dismiss='modal' + aria-label='Close' + > + <span aria-hidden='true'>×</span> + </button> <h4 className='modal-title'>Add New Members to <span className='name'>{this.state.channelName}</span></h4> </div> <div className='modal-body'> @@ -145,7 +166,11 @@ export default class ChannelInviteModal extends React.Component { {content} </div> <div className='modal-footer'> - <button type='button' className='btn btn-default' data-dismiss='modal'>Close</button> + <button + type='button' + className='btn btn-default' + data-dismiss='modal' + >Close</button> </div> </div> </div> @@ -153,4 +178,3 @@ export default class ChannelInviteModal extends React.Component { ); } } -ChannelInviteModal.displayName = 'ChannelInviteModal'; |