Disable file download until complete
This commit is contained in:
parent
488747baff
commit
69d428763e
|
@ -34,9 +34,13 @@ function File({ file }) {
|
||||||
return (
|
return (
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href={dlURI(uri, password, file.id)} target="_new">
|
{
|
||||||
{file.path}
|
file.progress == 1.0
|
||||||
</a>
|
? <a href={dlURI(uri, password, file.id)} target="_new">
|
||||||
|
{file.path}
|
||||||
|
</a>
|
||||||
|
: file.path
|
||||||
|
}
|
||||||
</td>
|
</td>
|
||||||
<td>{file.priority}</td>
|
<td>{file.priority}</td>
|
||||||
<td>{file.availability}</td>
|
<td>{file.availability}</td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user