1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +00:00

[eslint] updated eslintrc and improved the code (#4702)

This commit is contained in:
llj
2020-11-02 13:56:35 +08:00
committed by GitHub
parent ed3e5fc416
commit 04f29704b3
337 changed files with 1586 additions and 1585 deletions

View File

@@ -30,7 +30,7 @@ class SysAdminGroupAddMemberDialog extends React.Component {
let emails = this.state.selectedOptions.map(item => item.email);
this.props.addMembers(emails);
this.props.toggle();
}
}
render() {
const { isSubmitBtnDisabled } = this.state;
@@ -44,7 +44,7 @@ class SysAdminGroupAddMemberDialog extends React.Component {
className="reviewer-select"
placeholder={gettext('Search users...')}
onSelectChange={this.handleSelectChange}
/>
/>
</ModalBody>
<ModalFooter>
<Button color="secondary" onClick={this.props.toggle}>{gettext('Cancel')}</Button>