From 4fedccf6d331af1237af99b2b6efb98efb8b7d5f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 16 Jul 2013 20:25:42 -0700 Subject: [PATCH] Fixed EpisodeStatusCell --- UI/Cells/EpisodeStatusCell.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/Cells/EpisodeStatusCell.js b/UI/Cells/EpisodeStatusCell.js index f2db6ac5d..e1d0eb5a9 100644 --- a/UI/Cells/EpisodeStatusCell.js +++ b/UI/Cells/EpisodeStatusCell.js @@ -17,13 +17,14 @@ define( var tooltip; var hasAired = Date.create(this.model.get('airDate')).isBefore(Date.create()); + var hasFile = this.model.get('hasFile'); - if (hasAired) { + if (hasFile) { icon = 'icon-ok'; tooltip = 'Episode downloaded'; } else { - if (this.model.get('hasAired')) { + if (hasAired) { icon = 'icon-warning-sign'; tooltip = 'Episode missing from disk'; }