mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-15 21:06:20 -04:00
Indexes are created with the same uniqueness when copying a table New: Non-English episode support New: Renamed Quality Profiles to Profiles and made them more powerful New: Configurable wait time before grabbing a release to wait for a better quality
26 lines
635 B
JavaScript
26 lines
635 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backgrid',
|
|
'Profile/ProfileCollection',
|
|
'underscore'
|
|
], function (Backgrid, ProfileCollection,_) {
|
|
return Backgrid.Cell.extend({
|
|
className: 'profile-cell',
|
|
|
|
render: function () {
|
|
|
|
this.$el.empty();
|
|
var profileId = this.model.get(this.column.get('name'));
|
|
|
|
var profile = _.findWhere(ProfileCollection.models, { id: profileId });
|
|
|
|
if (profile) {
|
|
this.$el.html(profile.get('name'));
|
|
}
|
|
|
|
return this;
|
|
}
|
|
});
|
|
});
|