mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
Fix a bug in the sidebar states when show zero is checked
This commit is contained in:
parent
f07c0d9894
commit
15dd22812d
@ -195,7 +195,7 @@ Copyright:
|
|||||||
removeZero: function(states) {
|
removeZero: function(states) {
|
||||||
var newStates = [];
|
var newStates = [];
|
||||||
Ext.each(states, function(state) {
|
Ext.each(states, function(state) {
|
||||||
if (state[1] > 0) {
|
if (state[1] > 0 || state[0] == _('All')) {
|
||||||
newStates.push(state);
|
newStates.push(state);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user