mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 19:01:42 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -47,13 +47,13 @@ class UserItem extends React.Component {
|
||||
highlight: false
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toggleDelete = () => {
|
||||
const email = this.props.user.email;
|
||||
this.props.toggleDelete(email);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
toggleResetPW = () => {
|
||||
const { email, name } = this.props.user;
|
||||
toaster.success(gettext('Resetting user\'s password, please wait for a moment.'));
|
||||
@@ -144,7 +144,7 @@ class UserItem extends React.Component {
|
||||
<a href={href}>{user.name}</a>
|
||||
</td>
|
||||
<td>
|
||||
<UserStatusEditor
|
||||
<UserStatusEditor
|
||||
isTextMode={true}
|
||||
isEditIconShow={isEditIconShow}
|
||||
currentStatus={this.state.currentStatus}
|
||||
|
Reference in New Issue
Block a user