Merge pull request #11825 from FranciscoPombal/stalled_filter

Add stalled filters to GUI and Web API/UI
This commit is contained in:
sledgehammer999 2020-02-16 18:32:37 +02:00 committed by GitHub
commit 322ae3e0bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 70 additions and 2 deletions

View file

@ -1225,6 +1225,18 @@ window.qBittorrent.DynamicTable = (function() {
if (state.indexOf('paused') > -1)
return false;
break;
case 'stalled':
if ((state != 'stalledUP') && (state != 'stalledDL'))
return false;
break;
case 'stalled_uploading':
if (state != 'stalledUP')
return false;
break;
case 'stalled_downloading':
if (state != 'stalledDL')
return false;
break;
case 'inactive':
inactive = true;
// fallthrough