mirror of https://github.com/Sonarr/Sonarr
Removed sorting on diskspace table to prevent errors
This commit is contained in:
parent
867746a763
commit
1dea451ace
|
@ -1,7 +1,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
define(['backbone', 'System/Info/DiskSpace/DiskSpaceModel'],
|
|
||||||
|
define(['backbone',
|
||||||
|
'System/Info/DiskSpace/DiskSpaceModel'],
|
||||||
function(Backbone, DiskSpaceModel) {
|
function(Backbone, DiskSpaceModel) {
|
||||||
return Backbone.Collection.extend({
|
return Backbone.Collection.extend({
|
||||||
|
|
||||||
url : window.NzbDrone.ApiRoot +'/diskspace',
|
url : window.NzbDrone.ApiRoot +'/diskspace',
|
||||||
model : DiskSpaceModel
|
model : DiskSpaceModel
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,17 +20,20 @@ define([
|
||||||
{
|
{
|
||||||
name : 'path',
|
name : 'path',
|
||||||
label : 'Location',
|
label : 'Location',
|
||||||
cell: DiskSpacePathCell
|
cell : DiskSpacePathCell,
|
||||||
|
sortable : false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : 'freeSpace',
|
name : 'freeSpace',
|
||||||
label : 'Free Space',
|
label : 'Free Space',
|
||||||
cell: FileSizeCell
|
cell : FileSizeCell,
|
||||||
|
sortable : false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : 'totalSpace',
|
name : 'totalSpace',
|
||||||
label : 'Total Space',
|
label : 'Total Space',
|
||||||
cell: FileSizeCell
|
cell : FileSizeCell,
|
||||||
|
sortable : false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue