mirror of https://github.com/Sonarr/Sonarr
Queue count above history shows count for all items and won't show error erroneously
This commit is contained in:
parent
b9623957fd
commit
23726ed5df
|
@ -20,10 +20,10 @@ define(
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
var count = QueueCollection.length;
|
var count = QueueCollection.fullCollection.length;
|
||||||
var label = 'label-info';
|
var label = 'label-info';
|
||||||
var errors = QueueCollection.some(function (model) {
|
var errors = QueueCollection.fullCollection.some(function (model) {
|
||||||
return model.get('errorMessage') !== '';
|
return model.has('errorMessage');
|
||||||
});
|
});
|
||||||
|
|
||||||
if (errors) {
|
if (errors) {
|
||||||
|
|
Loading…
Reference in New Issue