mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 19:15:39 +00:00
14 lines
299 B
JavaScript
14 lines
299 B
JavaScript
/// <reference path="../../app.js" />
|
|
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
|
|
idAttribute: 'Id',
|
|
|
|
mutators: {
|
|
FreeSpaceString: function () {
|
|
return this.get('FreeSpace').bytes(2) + " Free";
|
|
}
|
|
},
|
|
|
|
defaults: {
|
|
FreeSpace: 0,
|
|
}
|
|
});
|