[pve-devel] [PATCH manager 3/3] add by-id link as hidden column to disklist

Stoiko Ivanov s.ivanov at proxmox.com
Thu Jun 4 13:50:55 CEST 2020


Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 www/manager6/node/Disks.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/www/manager6/node/Disks.js b/www/manager6/node/Disks.js
index 555956f6..7a1358ff 100644
--- a/www/manager6/node/Disks.js
+++ b/www/manager6/node/Disks.js
@@ -97,6 +97,14 @@ Ext.define('PVE.node.DiskList', {
 	    renderer: Ext.String.htmlEncode,
 	    dataIndex: 'model'
 	},
+	{
+	    header: gettext('Stable Device Link'),
+	    width: 200,
+	    sortable: true,
+	    hidden: true,
+	    renderer: Ext.String.htmlEncode,
+	    dataIndex: 'by_id_link'
+	},
 	{
 	    header: gettext('Serial'),
 	    width: 200,
-- 
2.20.1





More information about the pve-devel mailing list