mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 12:02:13 +00:00
torrentListPropMap: use d.hashing= instead of d.is_hash_checking=
d.hashing= allows Flood to show torrents queued for hashing. Cherry-Pick: Flood-UI/flood#868 Signed-off-by: Jesse Chan <jc@linux.com>
This commit is contained in:
@@ -35,10 +35,10 @@ const formatUtil = {
|
||||
return string.substr(0, markerPosition);
|
||||
},
|
||||
|
||||
status: (isHashChecking, isComplete, isOpen, uploadRate, downloadRate, state, message) => {
|
||||
status: (isHashing, isComplete, isOpen, uploadRate, downloadRate, state, message) => {
|
||||
const torrentStatus = [];
|
||||
|
||||
if (isHashChecking === '1') {
|
||||
if (isHashing !== '0') {
|
||||
torrentStatus.push('ch'); // checking
|
||||
} else if (isComplete === '1' && isOpen === '1' && state === '1') {
|
||||
torrentStatus.push('sd'); // seeding
|
||||
|
||||
Reference in New Issue
Block a user