Show total uploaded in UI
This commit is contained in:
parent
156f83dbee
commit
c3eb03c72d
1 changed files with 1 additions and 4 deletions
|
|
@ -199,11 +199,8 @@ const Speed: React.FC<{ statsResponse: TorrentStats }> = ({ statsResponse }) =>
|
|||
return <>
|
||||
{!statsResponse.finished && <p>↓ {statsResponse.live.download_speed.human_readable}</p>}
|
||||
<p>↑ {statsResponse.live.upload_speed.human_readable}</p>
|
||||
{statsResponse.live.snapshot.uploaded_bytes > 0 && <p>Uploaded {formatBytes(statsResponse.live.snapshot.uploaded_bytes)}</p>}
|
||||
</>
|
||||
|
||||
if (statsResponse.finished) {
|
||||
return <span>Completed</span>;
|
||||
}
|
||||
}
|
||||
|
||||
const TorrentRow: React.FC<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue