1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Removed sorting on diskspace table to prevent errors

This commit is contained in:
Mark McDowall 2014-12-01 18:49:04 -08:00
parent 867746a763
commit 1dea451ace
2 changed files with 18 additions and 12 deletions

View File

@ -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
});

View File

@ -20,17 +20,20 @@ define([
{
name : 'path',
label : 'Location',
cell: DiskSpacePathCell
cell : DiskSpacePathCell,
sortable : false
},
{
name : 'freeSpace',
label : 'Free Space',
cell: FileSizeCell
cell : FileSizeCell,
sortable : false
},
{
name : 'totalSpace',
label : 'Total Space',
cell: FileSizeCell
cell : FileSizeCell,
sortable : false
}
],