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 ( return (
<tr> <tr>
<td> <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} {file.path}
</a> </a>
: file.path
}
</td> </td>
<td>{file.priority}</td> <td>{file.priority}</td>
<td>{file.availability}</td> <td>{file.availability}</td>