mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-14 06:52:36 +01:00
19 lines
449 B
JavaScript
19 lines
449 B
JavaScript
"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;
|
|
}
|
|
}
|
|
});
|
|
});
|