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

@@ -82,7 +82,7 @@ class UploadProgressDialog extends React.Component {
<tbody>
<tr>
<td className="text-right" colSpan={3}>
{retryFileList.length > 0 ?
{retryFileList.length > 0 ?
<span className="cursor-pointer" onClick={this.props.onUploadRetryAll}>{gettext('Retry All')}</span>
:
<span className="cursor-pointer disabled-link">{gettext('Retry All')}</span>
@@ -104,9 +104,9 @@ class UploadProgressDialog extends React.Component {
{
this.props.uploadFileList.map((resumableFile, index) => {
return (
<UploadListItem
key={index}
resumableFile={resumableFile}
<UploadListItem
key={index}
resumableFile={resumableFile}
onUploadCancel={this.props.onUploadCancel}
onUploadRetry={this.props.onUploadRetry}
/>