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

23 lines
562 B

define(['app'], function () {
NzbDrone.Quality.QualityProfileModel = Backbone.Model.extend({
mutators: {
allowed: function () {
return _.where(this.get('qualities'), { allowed: true });
},
cutoffName: function () {
return _.findWhere(this.get('qualities'), { id: this.get('cutoff') }).name;
}
},
defaults: {
id : null,
name : '',
//'qualities.allowed': false,
cutoff: null
}
});
});