From e76c160afe5b1089574df1f1e00664491241ee68 Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Fri, 13 Jan 2017 18:13:39 +0100 Subject: [PATCH] Downloaded column should now use the correct quality name. Fixes #210. --- src/UI/Cells/DownloadedQualityCell.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/UI/Cells/DownloadedQualityCell.js b/src/UI/Cells/DownloadedQualityCell.js index 0cf40c21c..1a7d9c354 100644 --- a/src/UI/Cells/DownloadedQualityCell.js +++ b/src/UI/Cells/DownloadedQualityCell.js @@ -18,14 +18,8 @@ module.exports = Backgrid.Cell.extend({ this.$el.empty(); if (this.model.get("movieFile")) { var profileId = this.model.get("movieFile").quality.quality.id; - - var profile = _.findWhere(ProfileCollection.models, { id : profileId }); - - if (profile) { - this.$el.html(profile.get('name')); - } else { this.$el.html(this.model.get("movieFile").quality.quality.name); - } + }