sonarr-repo-only/NzbDrone.Backbone/AddSeries/RootFolders/RootFolderModel.js

13 lines
328 B
JavaScript
Raw Normal View History

define(['app'], function () {
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
freeSpace: 0,
}
});
});