Hide DL status on paused torrents

Fixes #309
This commit is contained in:
DC
2016-04-05 19:27:39 -07:00
parent 3080001d3d
commit 6447966e91

View File

@@ -70,7 +70,7 @@ function TorrentList (state) {
// If it's downloading/seeding then show progress info
var prog = torrentSummary.progress
if (torrentSummary.state !== 'paused' && prog) {
if (torrentSummary.status !== 'paused' && prog) {
var progress = Math.floor(100 * prog.progress)
var downloaded = prettyBytes(prog.downloaded)
var total = prettyBytes(prog.length || 0)