mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
removed QualityModel/SeasonModel mutators.
This commit is contained in:
parent
9835608ff0
commit
eceed9f439
4 changed files with 7 additions and 46 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue