Display the download button for files that are not downloading and have
0 progress
This commit is contained in:
parent
6967059c7e
commit
4745088eff
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 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 app thinking downloads with 0 progress were downloaded after restart
|
||||
|
||||
### Deprecated
|
||||
*
|
||||
|
|
|
@ -118,7 +118,10 @@ class FileActions extends React.PureComponent {
|
|||
/>
|
||||
</div>
|
||||
);
|
||||
} else if (fileInfo === null && !downloading) {
|
||||
} else if (
|
||||
(fileInfo === null || (fileInfo && fileInfo.written_bytes === 0)) &&
|
||||
!downloading
|
||||
) {
|
||||
if (!costInfo) {
|
||||
content = <BusyMessage message={__("Fetching cost info")} />;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue