Queue count above history shows count for all items and won't show error erroneously

pull/4/head
Mark McDowall 10 years ago
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…
Cancel
Save