show total speed of the job

This commit is contained in:
controlol 2021-11-04 00:50:19 +01:00
parent 41f15ae295
commit f5c40d54ff

View File

@ -121,6 +121,9 @@ class Job extends Component {
<p> Progress: </p>
<p> { ((stats.bytes / stats.totalBytes) * 100 || 0).toFixed(2) } % </p>
<p> Speed: </p>
<p> { bytesToString(stats.speed, { speed: true }) } </p>
<StopButton onClick={this.stopJob}> Cancel </StopButton>
</ActiveJob>
{ this.renderActiveTransfer() }