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

This commit is contained in:
Mark McDowall 2014-09-02 07:11:39 -07:00
parent b9623957fd
commit 23726ed5df
1 changed files with 3 additions and 3 deletions

View File

@ -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) {