From c3eb03c72dbdb0cf15b0e872d3aef48990d485ec Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Tue, 5 Dec 2023 22:41:16 +0000 Subject: [PATCH] Show total uploaded in UI --- crates/librqbit/webui/src/rqbit-web.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/librqbit/webui/src/rqbit-web.tsx b/crates/librqbit/webui/src/rqbit-web.tsx index f9f7320..74950b5 100644 --- a/crates/librqbit/webui/src/rqbit-web.tsx +++ b/crates/librqbit/webui/src/rqbit-web.tsx @@ -199,11 +199,8 @@ const Speed: React.FC<{ statsResponse: TorrentStats }> = ({ statsResponse }) => return <> {!statsResponse.finished &&

↓ {statsResponse.live.download_speed.human_readable}

}

↑ {statsResponse.live.upload_speed.human_readable}

+ {statsResponse.live.snapshot.uploaded_bytes > 0 &&

Uploaded {formatBytes(statsResponse.live.snapshot.uploaded_bytes)}

} - - if (statsResponse.finished) { - return Completed; - } } const TorrentRow: React.FC<{