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

@@ -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) => {