mirror of
https://github.com/Radarr/Radarr
synced 2025-12-19 06:47:30 +01:00
17 lines
419 B
JavaScript
17 lines
419 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'backbone'
|
||
], function (Backbone) {
|
||
return Backbone.Model.extend({
|
||
|
||
mutators: {
|
||
thirtyMinuteSize: function () {
|
||
return this.get('maxSize') * 30;
|
||
},
|
||
sixtyMinuteSize : function () {
|
||
return this.get('maxSize') * 60;
|
||
}
|
||
}
|
||
});
|
||
});
|