You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/UI/Quality/QualitySizeModel.js

19 lines
449 B

"use strict";
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;
}
}
});
});