mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
17 lines
434 B
JavaScript
17 lines
434 B
JavaScript
define(['app'], function () {
|
|
NzbDrone.Quality.QualitySizeModel = Backbone.Model.extend({
|
|
|
|
initialize: function () {
|
|
this.validators = {};
|
|
},
|
|
|
|
mutators: {
|
|
thirtyMinuteSize: function () {
|
|
return this.get('maxSize') * 30;
|
|
},
|
|
sixtyMinuteSize : function () {
|
|
return this.get('maxSize') * 60;
|
|
}
|
|
}
|
|
});
|
|
}); |