Disable file download until complete

This commit is contained in:
Luminarys 2017-11-12 11:28:02 -08:00
parent 488747baff
commit 69d428763e

View File

@ -34,9 +34,13 @@ function File({ file }) {
return (
<tr>
<td>
<a href={dlURI(uri, password, file.id)} target="_new">
{
file.progress == 1.0
? <a href={dlURI(uri, password, file.id)} target="_new">
{file.path}
</a>
: file.path
}
</td>
<td>{file.priority}</td>
<td>{file.availability}</td>