mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-15 07:22:35 +01:00
13 lines
328 B
JavaScript
13 lines
328 B
JavaScript
|
define(['app'], function () {
|
||
|
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
|
||
|
mutators: {
|
||
|
freeSpaceString: function () {
|
||
|
return this.get('freeSpace').bytes(2) + " Free";
|
||
|
}
|
||
|
},
|
||
|
|
||
|
defaults: {
|
||
|
freeSpace: 0,
|
||
|
}
|
||
|
});
|
||
|
});
|