mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -17,7 +17,7 @@ class UserStatusEditor extends React.Component {
|
||||
if (userStatus === 'active') {
|
||||
return gettext('Active');
|
||||
}
|
||||
|
||||
|
||||
if (userStatus === 'inactive') {
|
||||
return gettext('Inactive');
|
||||
}
|
||||
@@ -25,7 +25,7 @@ class UserStatusEditor extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<SelectEditor
|
||||
<SelectEditor
|
||||
isTextMode={this.props.isTextMode}
|
||||
isEditIconShow={this.props.isEditIconShow}
|
||||
options={this.props.statusArray}
|
||||
|
Reference in New Issue
Block a user