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;
|
||||
}
|
||||
|
||||
var count = QueueCollection.length;
|
||||
var count = QueueCollection.fullCollection.length;
|
||||
var label = 'label-info';
|
||||
var errors = QueueCollection.some(function (model) {
|
||||
return model.get('errorMessage') !== '';
|
||||
var errors = QueueCollection.fullCollection.some(function (model) {
|
||||
return model.has('errorMessage');
|
||||
});
|
||||
|
||||
if (errors) {
|
||||
|
|
Loading…
Reference in New Issue