[pve-devel] [PATCH widget-toolkit] node: add MTU column in NetworkView

Oguz Bektas o.bektas at proxmox.com
Thu Jul 8 15:44:28 CEST 2021


hidden by default since it's an "advanced" setting

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 src/node/NetworkView.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/node/NetworkView.js b/src/node/NetworkView.js
index 2e83130..dff503a 100644
--- a/src/node/NetworkView.js
+++ b/src/node/NetworkView.js
@@ -443,6 +443,12 @@ Ext.define('Proxmox.node.NetworkView', {
 			    sortable: true,
 			    dataIndex: 'vlan-raw-device',
 			},
+			{
+			    header: gettext('MTU'),
+			    hidden: true,
+			    sortable: true,
+			    dataIndex: 'mtu',
+			},
 			{
 			    header: gettext('Comment'),
 			    dataIndex: 'comments',
-- 
2.30.2






More information about the pve-devel mailing list