mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
Uploader bug repair (#2802)
This commit is contained in:
@@ -45,10 +45,15 @@ class UploadListItem extends React.Component {
|
||||
}
|
||||
</td>
|
||||
<td className="upload-operation">
|
||||
{ progress !== 100 ?
|
||||
<a href="#" onClick={this.onUploadCancel}>{gettext(('cancel'))}</a> :
|
||||
{(!item.isSaved && progress !== 100) && (
|
||||
<a href="#" onClick={this.onUploadCancel}>{gettext(('cancel'))}</a>
|
||||
)}
|
||||
{(!item.isSaved && progress === 100) && (
|
||||
<span className="sf-font">{gettext('saving...')}</span>
|
||||
)}
|
||||
{item.isSaved && (
|
||||
<span>{gettext('uploaded')}</span>
|
||||
}
|
||||
)}
|
||||
</td>
|
||||
</tr>
|
||||
);
|
||||
|
Reference in New Issue
Block a user