diff --git a/client/source/sass/components/_torrents.scss b/client/source/sass/components/_torrents.scss index d3bd6405..ff710b3d 100644 --- a/client/source/sass/components/_torrents.scss +++ b/client/source/sass/components/_torrents.scss @@ -289,6 +289,10 @@ $torrent--background--error: #e95779; .is-selected & { color: #fff; } + + .is-selected.is-stopped & { + color: $torrent--tertiary--foreground--selected--stopped; + } } &--download { diff --git a/client/source/scripts/util/formatData.js b/client/source/scripts/util/formatData.js index 6b9e8e12..67f47eb7 100644 --- a/client/source/scripts/util/formatData.js +++ b/client/source/scripts/util/formatData.js @@ -55,7 +55,7 @@ const format = { {eta.minutes}m - {eta.remainingSeconds}s + {eta.seconds}s ); diff --git a/client/source/scripts/util/sortTorrents.js b/client/source/scripts/util/sortTorrents.js index fa9c563e..9ee55895 100644 --- a/client/source/scripts/util/sortTorrents.js +++ b/client/source/scripts/util/sortTorrents.js @@ -20,10 +20,10 @@ export function sortTorrents(torrentsHash, sortBy) { } // if it's not infinity, compare the second as numbers if (valA !== 'Infinity') { - valA = Number(valA.seconds); + valA = Number(valA.cumSeconds); } if (valB !== 'Infinity') { - valB = Number(valB.seconds); + valB = Number(valB.cumSeconds); } } else if (property === 'name') { valA = valA.toLowerCase();