Merge pull request #381 from lbryio/no-progress-downloads
Display the download button for files that are not downloading and have 0 progress
This commit is contained in:
commit
276aa5c27e
2 changed files with 5 additions and 1 deletions
|
@ -31,6 +31,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
||||||
* Fixed files on downloaded tab not showing download progress
|
* Fixed files on downloaded tab not showing download progress
|
||||||
* Fixed downloading files that are deleted not being removed from the downloading list
|
* Fixed downloading files that are deleted not being removed from the downloading list
|
||||||
* Fixed download progress bar not being cleared when a downloading file is deleted
|
* Fixed download progress bar not being cleared when a downloading file is deleted
|
||||||
|
* Fixed app thinking downloads with 0 progress were downloaded after restart
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
*
|
*
|
||||||
|
|
|
@ -118,7 +118,10 @@ class FileActions extends React.PureComponent {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else if (fileInfo === null && !downloading) {
|
} else if (
|
||||||
|
(fileInfo === null || (fileInfo && fileInfo.written_bytes === 0)) &&
|
||||||
|
!downloading
|
||||||
|
) {
|
||||||
if (!costInfo) {
|
if (!costInfo) {
|
||||||
content = <BusyMessage message={__("Fetching cost info")} />;
|
content = <BusyMessage message={__("Fetching cost info")} />;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue