ui: disks: add 'mounted' column

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
Hannes Laimer 2022-06-08 07:10:00 +00:00 committed by Wolfgang Bumiller
parent 3e83971bca
commit b7e91380ca

View File

@ -35,7 +35,7 @@ Ext.define('pmx-disk-list', {
return undefined;
},
},
'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health',
'vendor', 'model', 'serial', 'rpm', 'type', 'wearout', 'health', 'mounted',
],
idProperty: 'devpath',
});
@ -302,6 +302,13 @@ Ext.define('Proxmox.DiskList', {
renderer: Ext.String.htmlEncode,
dataIndex: 'status',
},
{
header: 'Mounted',
width: 60,
align: 'right',
renderer: Proxmox.Utils.format_boolean,
dataIndex: 'mounted',
},
{
header: 'Wearout',
width: 90,