[pve-devel] [PATCH proxmox-widget-toolkit 1/1] ui: disks: add 'mounted' column
Hannes Laimer
h.laimer at proxmox.com
Wed Jun 8 09:10:00 CEST 2022
Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
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.30.2
More information about the pve-devel
mailing list