From: Hannes Laimer Date: Wed, 8 Jun 2022 07:10:00 +0000 (+0000) Subject: ui: disks: add 'mounted' column X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff_plain;h=b7e91380ca690cf7f011f75b6715116518dfc635 ui: disks: add 'mounted' column Signed-off-by: Hannes Laimer --- diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js index eb8b1a8..76d92cd 100644 --- a/src/panel/DiskList.js +++ b/src/panel/DiskList.js @@ -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,