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/NzbDrone.Web/_backboneApp/AddSeries/RootDir/RootDirModel.js

15 lines
299 B

/// <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,
}
});