mirror of https://github.com/lidarr/Lidarr
Removed sorting on diskspace table to prevent errors
This commit is contained in:
parent
867746a763
commit
1dea451ace
|
@ -1,8 +1,11 @@
|
|||
'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
|
||||
|
||||
url : window.NzbDrone.ApiRoot +'/diskspace',
|
||||
model : DiskSpaceModel
|
||||
});
|
||||
});
|
|
@ -18,19 +18,22 @@ define([
|
|||
columns:
|
||||
[
|
||||
{
|
||||
name: 'path',
|
||||
label: 'Location',
|
||||
cell: DiskSpacePathCell
|
||||
name : 'path',
|
||||
label : 'Location',
|
||||
cell : DiskSpacePathCell,
|
||||
sortable : false
|
||||
},
|
||||
{
|
||||
name: 'freeSpace',
|
||||
label: 'Free Space',
|
||||
cell: FileSizeCell
|
||||
name : 'freeSpace',
|
||||
label : 'Free Space',
|
||||
cell : FileSizeCell,
|
||||
sortable : false
|
||||
},
|
||||
{
|
||||
name: 'totalSpace',
|
||||
label: 'Total Space',
|
||||
cell: FileSizeCell
|
||||
name : 'totalSpace',
|
||||
label : 'Total Space',
|
||||
cell : FileSizeCell,
|
||||
sortable : false
|
||||
}
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue