sonarr-repo-only/NzbDrone.Web/_backboneApp/AddSeries/RootFolders/RootDirModel.js

14 lines
276 B
JavaScript

/// <reference path="../../app.js" />
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
freeSpace: 0,
}
});