mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
15 lines
299 B
JavaScript
15 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,
|
|
}
|
|
});
|