mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 23:34:45 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -51,7 +51,7 @@ class Content extends Component {
|
||||
<th width="25%">{gettext('Action')}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{items &&
|
||||
{items &&
|
||||
<tbody>
|
||||
{items.map((item, index) => {
|
||||
return (<Item
|
||||
@@ -72,7 +72,7 @@ class Content extends Component {
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
return items.length ? table : emptyTip;
|
||||
return items.length ? table : emptyTip;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -171,7 +171,7 @@ class FileUpdateLogs extends Component {
|
||||
currentPage: parseInt(urlParams.get('page') || currentPage)
|
||||
}, () => {
|
||||
this.getLogsByPage(this.state.currentPage);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
getLogsByPage = (page) => {
|
||||
|
Reference in New Issue
Block a user