mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
WebUI: Implement a 'Completed' status
This commit is contained in:
parent
f9e7345776
commit
e3a5ba09c4
6 changed files with 26 additions and 5 deletions
|
@ -253,12 +253,16 @@ var dynamicTable = new Class({
|
|||
if ((state != 'downloading') && !~state.indexOf('DL'))
|
||||
return false;
|
||||
break;
|
||||
case 'seeding':
|
||||
if ((state != 'uploading') && (state != 'stalledUP') && (state != 'queuedUP') && (state != 'checkingUP'))
|
||||
return false;
|
||||
break;
|
||||
case 'completed':
|
||||
if ((state != 'uploading') && !~state.indexOf('UP'))
|
||||
return false;
|
||||
break;
|
||||
case 'paused':
|
||||
if (!~state.indexOf('paused'))
|
||||
if (state != 'pausedDL')
|
||||
return false;
|
||||
break;
|
||||
case 'resumed':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue