mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
client side code webstorm code cleanup.
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
NzbDrone.Quality.QualityProfileModel = Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
allowed: function() {
|
||||
allowed: function () {
|
||||
return _.where(this.get('qualities'), { allowed: true });
|
||||
},
|
||||
|
||||
cutoffName: function() {
|
||||
cutoffName: function () {
|
||||
return _.findWhere(this.get('qualities'), { id: this.get('cutoff') }).name;
|
||||
}
|
||||
},
|
||||
|
||||
defaults: {
|
||||
id: null,
|
||||
name: '',
|
||||
id : null,
|
||||
name : '',
|
||||
//'qualities.allowed': false,
|
||||
cutoff: null
|
||||
}
|
||||
|
Reference in New Issue
Block a user