mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix a bug in the sidebar states when show zero is checked
This commit is contained in:
parent
f07c0d9894
commit
15dd22812d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ Copyright:
|
|||
removeZero: function(states) {
|
||||
var newStates = [];
|
||||
Ext.each(states, function(state) {
|
||||
if (state[1] > 0) {
|
||||
if (state[1] > 0 || state[0] == _('All')) {
|
||||
newStates.push(state);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue