mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 22:43:31 -07:00
Downloaded column should now use the correct quality name. Fixes #210.
This commit is contained in:
parent
4038ce18c3
commit
e76c160afe
1 changed files with 1 additions and 7 deletions
|
@ -18,14 +18,8 @@ module.exports = Backgrid.Cell.extend({
|
||||||
this.$el.empty();
|
this.$el.empty();
|
||||||
if (this.model.get("movieFile")) {
|
if (this.model.get("movieFile")) {
|
||||||
var profileId = this.model.get("movieFile").quality.quality.id;
|
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);
|
this.$el.html(this.model.get("movieFile").quality.quality.name);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue