1
0
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:
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

@@ -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}