Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/c8c67a825440b5acb7eebdbe81b3decd79b36b51/UI/Cells/QualityProfileCell.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/UI/Cells/QualityProfileCell.js

25 lines
654 B

'use strict';
define(
[
'backgrid',
'Quality/QualityProfileCollection'
], function (Backgrid, QualityProfileCollection) {
return Backgrid.Cell.extend({
className: 'quality-profile-cell',
render: function () {
this.$el.empty();
var qualityProfileId = this.model.get(this.column.get('name'));
var profile = _.findWhere(QualityProfileCollection.models, { id: qualityProfileId });
if (profile) {
this.$el.html(profile.get('name'));
}
return this;
}
});
});