1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 01:12:03 +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

@@ -53,7 +53,7 @@ class Content extends Component {
<th width="15%">{gettext('File')}{' / '}{gettext('Folder')}</th>
</tr>
</thead>
{items &&
{items &&
<tbody>
{items.map((item, index) => {
return (<Item
@@ -74,7 +74,7 @@ class Content extends Component {
/>
</Fragment>
);
return items.length ? table : emptyTip;
return items.length ? table : emptyTip;
}
}
}