mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
14 lines
384 B
JavaScript
14 lines
384 B
JavaScript
"use strict";
|
|
define(['app'], function (app) {
|
|
NzbDrone.History.Model = Backbone.Model.extend({
|
|
mutators: {
|
|
seasonNumber: function () {
|
|
return this.get('episode').seasonNumber;
|
|
},
|
|
|
|
paddedEpisodeNumber: function () {
|
|
return this.get('episode').episodeNumber.pad(2);
|
|
}
|
|
}
|
|
});
|
|
});
|