@ -1,7 +1,10 @@
'use strict';
define(['backbone', 'System/Info/DiskSpace/DiskSpaceModel'],
define(['backbone',
'System/Info/DiskSpace/DiskSpaceModel'],
function(Backbone, DiskSpaceModel) {
return Backbone.Collection.extend({
url : window.NzbDrone.ApiRoot +'/diskspace',
model : DiskSpaceModel
});
@ -20,17 +20,20 @@ define([
{
name : 'path',
label : 'Location',
cell: DiskSpacePathCell
cell : DiskSpacePathCell,
sortable : false
},
name : 'freeSpace',
label : 'Free Space',
cell: FileSizeCell
cell : FileSizeCell,
name : 'totalSpace',
label : 'Total Space',
}
],