mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
removed QualityModel/SeasonModel mutators.
This commit is contained in:
@@ -5,18 +5,6 @@ define(
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
seasonTitle: function () {
|
||||
var seasonNumber = this.get('seasonNumber');
|
||||
|
||||
if (seasonNumber === 0) {
|
||||
return 'Specials';
|
||||
}
|
||||
|
||||
return 'Season ' + seasonNumber;
|
||||
}
|
||||
},
|
||||
|
||||
defaults: {
|
||||
seasonNumber: 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user