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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user