From 23726ed5dfc8d7141f3b0d24c336ab143f50c162 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 2 Sep 2014 07:11:39 -0700 Subject: [PATCH] Queue count above history shows count for all items and won't show error erroneously --- src/UI/History/Queue/QueueView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UI/History/Queue/QueueView.js b/src/UI/History/Queue/QueueView.js index 64622ba62..c13413344 100644 --- a/src/UI/History/Queue/QueueView.js +++ b/src/UI/History/Queue/QueueView.js @@ -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) {