From b7e91380ca690cf7f011f75b6715116518dfc635 Mon Sep 17 00:00:00 2001 From: Hannes Laimer Date: Wed, 8 Jun 2022 07:10:00 +0000 Subject: [PATCH] ui: disks: add 'mounted' column Signed-off-by: Hannes Laimer --- src/panel/DiskList.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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, -- 2.39.2